1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00

Update to 0.4.2

- Change MASTER_SITES to CHEESESHOP
- Update LICENSE
- Use setup.py from upstream

Changes:	https://github.com/jupyter/testpath/commits/master
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2018-10-08 21:41:58 +00:00
parent efc4e8f50a
commit b7523079b8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=481575
3 changed files with 8 additions and 25 deletions

View File

@ -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 <bsd.port.pre.mk>
.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})

View File

@ -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

View File

@ -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'])
)