freebsd-ports/textproc/py-hashids/Makefile
Dmitry Marakasov 77d68471ad */*: rename CHEESESHOP to PYPI in MASTER_SITES
PR:			267994
Differential revision:	D37518
Approved by:		bapt
2023-01-11 18:58:34 +03:00

23 lines
517 B
Makefile

PORTNAME= hashids
PORTVERSION= 1.3.1
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Implement the hashids algorithm in python
WWW= https://github.com/davidaurelio/hashids-python
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python:3.5+
USE_PYTHON= autoplist concurrent distutils pytest
NO_ARCH= yes
post-patch:
@${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py
.include <bsd.port.mk>