- Update to 3.2.1

- Changed RUN_DEPENDS and BUILD_DEPENDS to match the dependencies
- Added LICENSE + LICENSE_FILE
- Added NO_ARCH
- Removed patch in files/patch-setup.py because it is no longer needed

PR:	228271
Submitted by:	freebsd_ports@k-worx.org
Approved by:	maintainer timeout
Sponsored by:	iXsystems Inc.
This commit is contained in:
Martin Wilke 2018-06-02 18:00:08 +00:00
parent d6682d797a
commit 4ad9fd860d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=471388
3 changed files with 10 additions and 23 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= pytest-django
PORTVERSION= 2.9.1
PORTVERSION= 3.2.1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -10,17 +10,14 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= tj@FreeBSD.org
COMMENT= Django plugin for py.test
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django18>=0:www/py-django18@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}django-configurations>=0:www/py-django-configurations@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-xdist>=0:devel/py-pytest-xdist@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tox>=0:devel/py-tox@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}twine>=0:devel/py-twine@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}south>=0:databases/py-south@${FLAVOR}
BUILD_DEPENDS= ${RUN_DEPENDS}
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.11.1:devel/py-setuptools_scm@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=2.9:devel/py-pytest@${PY_FLAVOR}
USES= python
USE_PYTHON= distutils autoplist
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -1,2 +1,3 @@
SHA256 (pytest-django-2.9.1.tar.gz) = 8be15b637738c8cbd1422a6461465c0aeab7839cf76ad2b5d190b6f1f53facd6
SIZE (pytest-django-2.9.1.tar.gz) = 50570
TIMESTAMP = 1526373879
SHA256 (pytest-django-3.2.1.tar.gz) = 7501942093db2250a32a4e36826edfc542347bb9b26c78ed0649cdcfd49e5789
SIZE (pytest-django-3.2.1.tar.gz) = 63706

View File

@ -1,11 +0,0 @@
--- setup.py.orig 2016-04-01 05:26:33 UTC
+++ setup.py
@@ -28,7 +28,7 @@ setup(
license='BSD-3-Clause',
packages=['pytest_django'],
long_description=read('README.rst'),
- setup_requires=['setuptools_scm==1.8.0'],
+ setup_requires=['setuptools_scm>=1.8.0'],
install_requires=['pytest>=2.5'],
classifiers=['Development Status :: 5 - Production/Stable',
'Framework :: Django',