ports/devel/py-gitlab-webhook-handler/Makefile
Michael Osipov 866380c886 devel/py-gitlab-webhook-handler: New port: Webhook Handler for GitLab
- 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
2023-03-27 20:31:42 +01:00

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>