66f25d9d10
A unified CLI tool that converts a package from a language-specific package manager (such as PyPI or NPM) to an almost ready-to-use package for Free Unix-based operating systems (such as a GNU/Linux distribution or *BSD). This commit includes the PyPI frontend and FreeBSD (Ports) backend packages as sysutils/py-upt-pypi and sysutils/py-upt-freebsd, respectively. WWW: https://framagit.org/upt/upt PR: 242241 Submitted by: Cyril Roelandt <cyril.roelandt aquilenet fr>
26 lines
568 B
Makefile
26 lines
568 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= upt-pypi
|
|
DISTVERSION= 0.5
|
|
CATEGORIES= sysutils python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= tipecaml@gmail.com
|
|
COMMENT= PyPI frontend for upt
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}upt>=0.9:sysutils/py-upt@${PY_FLAVOR}
|
|
|
|
USES= python:3.6+
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
NO_ARCH= yes
|
|
|
|
do-test:
|
|
@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m unittest -v
|
|
|
|
.include <bsd.port.mk>
|