mirror of
https://git.freebsd.org/ports.git
synced 2025-06-24 14:10:30 -04:00
27 lines
757 B
Makefile
27 lines
757 B
Makefile
PORTNAME= rubymarshal
|
|
PORTVERSION= 1.2.10
|
|
CATEGORIES= devel python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Read and write Ruby-marshalled data
|
|
|
|
LICENSE= WTFPL
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}hypothesis>=0:devel/py-hypothesis@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pytest-mutagen>=0:devel/py-pytest-mutagen@${PY_FLAVOR}
|
|
|
|
USE_GITHUB= yes # tests are missing from PyPI distribution
|
|
GH_ACCOUNT= d9pouces
|
|
GH_PROJECT= RubyMarshal
|
|
|
|
USES= python:3.6+
|
|
USE_PYTHON= autoplist distutils
|
|
NO_ARCH= yes
|
|
|
|
do-test:
|
|
@cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -o addopts= -v -rs
|
|
|
|
.include <bsd.port.mk>
|