diff --git a/devel/py-testpath/Makefile b/devel/py-testpath/Makefile index 186bd0732803..fe030a0ad362 100644 --- a/devel/py-testpath/Makefile +++ b/devel/py-testpath/Makefile @@ -1,34 +1,30 @@ # $FreeBSD$ PORTNAME= testpath -PORTVERSION= 0.3.1 +PORTVERSION= 0.4.2 CATEGORIES= devel python +MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= python@FreeBSD.org COMMENT= Test utilities for Python code working with files and commands -LICENSE= MIT +LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} -USE_GITHUB= yes -GH_ACCOUNT= jupyter - USES= python USE_PYTHON= autoplist distutils + NO_ARCH= yes .include -.if ${PYTHON_REL} < 3400 +.if ${PYTHON_REL} < 3000 TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pathlib>=0:devel/py-pathlib@${PY_FLAVOR} .endif -post-extract: - @${CP} ${FILESDIR}/setup.py ${WRKSRC} - do-test: @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYTHON_VER}) diff --git a/devel/py-testpath/distinfo b/devel/py-testpath/distinfo index 1dd87e7ed5c7..6e0c5104e529 100644 --- a/devel/py-testpath/distinfo +++ b/devel/py-testpath/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1495713469 -SHA256 (jupyter-testpath-0.3.1_GH0.tar.gz) = acd1e9ae3582e03b806ebcc40fbb2c660032d3f3ad991e5460e6856d69e6ba12 -SIZE (jupyter-testpath-0.3.1_GH0.tar.gz) = 91333 +TIMESTAMP = 1539030500 +SHA256 (testpath-0.4.2.tar.gz) = b694b3d9288dbd81685c5d2e7140b81365d46c29f5db4bc659de5aa6b98780f8 +SIZE (testpath-0.4.2.tar.gz) = 92850 diff --git a/devel/py-testpath/files/setup.py b/devel/py-testpath/files/setup.py deleted file mode 100644 index 9fc1264e4599..000000000000 --- a/devel/py-testpath/files/setup.py +++ /dev/null @@ -1,13 +0,0 @@ - -from setuptools import setup, find_packages - -setup( - name='testpath', - version='0.3', - description='Test utilities for Python code working with files and commands', - url='https://github.com/jupyter/testpath', - author='The Jupyter Development Team', - license='MIT', - long_description='Test utilities for Python code working with files and commands', - packages=find_packages(exclude=['tests']) -)