mirror of
https://git.freebsd.org/ports.git
synced 2025-06-26 15:10:35 -04:00
- Submitter becomes maintainer Webhook Handler for GitLab written in Python with Flask deployed as WSGI application. WWW: https://github.com/ahebrank/gitlab-webhook-handler PR: 269047
29 lines
758 B
Makefile
29 lines
758 B
Makefile
PORTNAME= gitlab-webhook-handler
|
|
DISTVERSION= 1.0.2
|
|
CATEGORIES= devel www python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= gwh-${DISTVERSION}
|
|
|
|
MAINTAINER= michael.osipov@siemens.com
|
|
COMMENT= Webhook Handler for GitLab
|
|
WWW= https://github.com/ahebrank/gitlab-webhook-handler
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>=1.0:www/py-flask@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}requests>=2.19.0:www/py-requests@${PY_FLAVOR}
|
|
|
|
USES= cpe python
|
|
CPE_VENDOR= python
|
|
USE_PYTHON= autoplist concurrent distutils
|
|
PYDISTUTILS_PKGNAME= gwh
|
|
|
|
NO_ARCH= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|python -m gwh|${PYTHON_VERSION} -m gwh|' \
|
|
${WRKSRC}/gwh/__main__.py
|
|
|
|
.include <bsd.port.mk>
|