Added
Link Here
|
1 |
PORTNAME= gitlab-webhook-handler |
2 |
PORTVERSION= 1.0.2 |
3 |
CATEGORIES= devel www python |
4 |
MASTER_SITES= CHEESESHOP |
5 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
6 |
DISTNAME= gwh-${PORTVERSION} |
7 |
|
8 |
MAINTAINER= michael.osipov@siemens.com |
9 |
COMMENT= Webhook Handler for GitLab |
10 |
WWW= https://github.com/ahebrank/gitlab-webhook-handler |
11 |
|
12 |
LICENSE= APACHE20 |
13 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
14 |
|
15 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>=1.0:www/py-flask@${PY_FLAVOR} \ |
16 |
${PYTHON_PKGNAMEPREFIX}requests>=2.19.0:www/py-requests@${PY_FLAVOR} |
17 |
|
18 |
USES= cpe python |
19 |
CPE_VENDOR= python |
20 |
USE_PYTHON= distutils concurrent autoplist |
21 |
PYDISTUTILS_PKGNAME= gwh |
22 |
|
23 |
NO_ARCH= yes |
24 |
|
25 |
post-patch: |
26 |
@${REINPLACE_CMD} -e 's|python -m gwh|${PYTHON_VERSION} -m gwh|' \ |
27 |
${WRKSRC}/gwh/__main__.py |
28 |
|
29 |
.include <bsd.port.mk> |