mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
devel/py-testpath: Update to 0.6.0
- Update version requirement of TEST_DEPENDS - Update do-test: Changes: https://github.com/jupyter/testpath/blob/master/doc/history.rst
This commit is contained in:
parent
37364439a8
commit
06943a7642
@ -1,5 +1,5 @@
|
||||
PORTNAME= testpath
|
||||
PORTVERSION= 0.5.0
|
||||
PORTVERSION= 0.6.0
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
@ -10,14 +10,17 @@ COMMENT= Test utilities for Python code working with files and commands
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0,1:devel/py-pytest@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
post-patch:
|
||||
@${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py
|
||||
|
||||
do-test:
|
||||
@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYTHON_VER})
|
||||
cd ${WRKSRC} && ${SETENV} ${PYTHON_CMD} -m pytest -rs -v
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1624630220
|
||||
SHA256 (testpath-0.5.0.tar.gz) = 1acf7a0bcd3004ae8357409fc33751e16d37ccc650921da1094a86581ad1e417
|
||||
SIZE (testpath-0.5.0.tar.gz) = 94021
|
||||
TIMESTAMP = 1649423978
|
||||
SHA256 (testpath-0.6.0.tar.gz) = 2f1b97e6442c02681ebe01bd84f531028a7caea1af3825000f52345c30285e0f
|
||||
SIZE (testpath-0.6.0.tar.gz) = 93348
|
||||
|
25
devel/py-testpath/files/setup.py
Normal file
25
devel/py-testpath/files/setup.py
Normal file
@ -0,0 +1,25 @@
|
||||
#!/usr/bin/env python
|
||||
# setup.py generated by flit for tools that don't yet use PEP 517
|
||||
|
||||
from distutils.core import setup
|
||||
|
||||
packages = \
|
||||
['testpath']
|
||||
|
||||
package_data = \
|
||||
{'': ['*']}
|
||||
|
||||
extras_require = \
|
||||
{'test': ['pytest']}
|
||||
|
||||
setup(name='testpath',
|
||||
version='%%PORTVERSION%%',
|
||||
description='Test utilities for code working with files and commands',
|
||||
author=None,
|
||||
author_email='Jupyter Development Team <jupyter@googlegroups.com>',
|
||||
url=None,
|
||||
packages=packages,
|
||||
package_data=package_data,
|
||||
extras_require=extras_require,
|
||||
python_requires='>= 3.5',
|
||||
)
|
Loading…
Reference in New Issue
Block a user