1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

devel/py-fabric: Update to 1.9.0

- Update to 1.9.0
- Add LICENSE_FILE
- Tweak COMMENT
- Tweak py-nose dependency prefix
- Limit Fabric to Python 2.x (*not* Python 3.x compatible)
- Wrap `test` command in setuptools bits using PYDISTUTILS_SETUP
- Patch setup.py to accept any version of fudge (even though its not
  compatible and causes 2 test failures)

Changes:

  http://www.fabfile.org/changelog.html
This commit is contained in:
Kubilay Kocak 2014-07-28 12:29:24 +00:00
parent b3dca31e45
commit 8c07ade50a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363135
3 changed files with 19 additions and 7 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= fabric
PORTVERSION= 1.8.4
PORTVERSION= 1.9.0
PORTEPOCH= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
@ -10,26 +10,27 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME:C/f/F/}-${DISTVERSION}
MAINTAINER= koobs@FreeBSD.org
COMMENT= Simple pythonic remote deployment tool
COMMENT= Simple, Pythonic remote execution and deployment
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}paramiko>=1.10:${PORTSDIR}/security/py-paramiko
TEST_DEPENDS:= ${RUN_DEPENDS} \
${PYTHON_PKGNAMEPREFIX}Jinja2>=0.6:${PORTSDIR}/devel/py-Jinja2 \
${PYTHON_PKGNAMEPREFIX}fudge>0:${PORTSDIR}/devel/py-fudge \
nosetests:${PORTSDIR}/devel/py-nose
${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose
OPTIONS_DEFINE= TESTS
TESTS_DESC= Install nose for test suite
TESTS_BUILD_DEPENDS= ${TEST_DEPENDS}
USE_PYTHON= yes
USE_PYTHON= -2.7
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
regression-test: build
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (Fabric-1.8.4.tar.gz) = ca42c6634a10e2ab39cc661f209d32ad7af073ee6381538befbde20c68fa5d30
SIZE (Fabric-1.8.4.tar.gz) = 203947
SHA256 (Fabric-1.9.0.tar.gz) = a30385226b7186d3094503a890a40a1c023b2fd84ecf0ff1e5d4d583c28bf719
SIZE (Fabric-1.9.0.tar.gz) = 205487

View File

@ -0,0 +1,11 @@
--- ./setup.py.orig 2014-07-28 22:22:14.902991707 +1000
+++ ./setup.py 2014-07-28 22:22:28.555883659 +1000
@@ -42,7 +42,7 @@
url='http://fabfile.org',
packages=find_packages(),
test_suite='nose.collector',
- tests_require=['nose', 'fudge<1.0'],
+ tests_require=['nose', 'fudge'],
install_requires=install_requires,
entry_points={
'console_scripts': [