Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Mar 2014 03:24:57 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r347445 - in head/net/py-beanstalkc: . files
Message-ID:  <201403080324.s283OvVr005628@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Sat Mar  8 03:24:56 2014
New Revision: 347445
URL: http://svnweb.freebsd.org/changeset/ports/347445
QAT: https://qat.redports.org/buildarchive/r347445/

Log:
  net/py-beanstalkc: Update to 0.4.0, Add QA bits
  
  - Update to 0.4.0
  - Add TEST_DEPENDS and regression-test: target for QA
  - Patch setup.py to integrate the test command with py-nose
  - Remove setup.py patch adding zip_safe=False (no longer needed)
  - pkg-descr: Update WWW: homepage link
  
  Changes:
  
   * https://github.com/earl/beanstalkc/commits/v0.4.0

Modified:
  head/net/py-beanstalkc/Makefile
  head/net/py-beanstalkc/distinfo
  head/net/py-beanstalkc/files/patch-setup.py
  head/net/py-beanstalkc/pkg-descr

Modified: head/net/py-beanstalkc/Makefile
==============================================================================
--- head/net/py-beanstalkc/Makefile	Sat Mar  8 03:07:45 2014	(r347444)
+++ head/net/py-beanstalkc/Makefile	Sat Mar  8 03:24:56 2014	(r347445)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	beanstalkc
-PORTVERSION=	0.3.0
-PORTREVISION=	1
+PORTVERSION=	0.4.0
 CATEGORIES=	net python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,6 +12,9 @@ COMMENT=	Simple beanstalkd client librar
 
 LICENSE=	APACHE20
 
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose \
+		${PYTHON_PKGNAMEPREFIX}yaml>0:${PORTSDIR}/devel/py-yaml
+
 USE_PYTHON=		yes
 USE_PYDISTUTILS=	yes
 PYDISTUTILS_AUTOPLIST=	yes
@@ -23,4 +25,7 @@ YAML_DESC=		Support parsing YAML respons
 
 YAML_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}yaml>0:${PORTSDIR}/devel/py-yaml
 
+regression-test: build
+	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
+
 .include <bsd.port.mk>

Modified: head/net/py-beanstalkc/distinfo
==============================================================================
--- head/net/py-beanstalkc/distinfo	Sat Mar  8 03:07:45 2014	(r347444)
+++ head/net/py-beanstalkc/distinfo	Sat Mar  8 03:24:56 2014	(r347445)
@@ -1,2 +1,2 @@
-SHA256 (beanstalkc-0.3.0.tar.gz) = 45c3915ed876f80712fcafadee0feaaf0628e5c297e33aaea7f7b229deb80467
-SIZE (beanstalkc-0.3.0.tar.gz) = 3849
+SHA256 (beanstalkc-0.4.0.tar.gz) = 98978e57797320146f4b233286d9a02f65d20bad0168424118839fc608085280
+SIZE (beanstalkc-0.4.0.tar.gz) = 13921

Modified: head/net/py-beanstalkc/files/patch-setup.py
==============================================================================
--- head/net/py-beanstalkc/files/patch-setup.py	Sat Mar  8 03:07:45 2014	(r347444)
+++ head/net/py-beanstalkc/files/patch-setup.py	Sat Mar  8 03:24:56 2014	(r347445)
@@ -1,8 +1,8 @@
---- ./setup.py.orig	2012-07-15 01:01:36.000000000 +1000
-+++ ./setup.py	2012-07-15 01:01:49.000000000 +1000
-@@ -30,4 +30,5 @@
-         'Programming Language :: Python',
+--- ./setup.py.orig	2014-03-08 14:16:00.573786621 +1100
++++ ./setup.py	2014-03-08 14:16:32.606016182 +1100
+@@ -29,4 +29,5 @@
+         'Operating System :: OS Independent',
          'Topic :: Software Development :: Libraries :: Python Modules',
      ],
-+    zip_safe=False,
++    test_suite = 'nose.collector',
  )

Modified: head/net/py-beanstalkc/pkg-descr
==============================================================================
--- head/net/py-beanstalkc/pkg-descr	Sat Mar  8 03:07:45 2014	(r347444)
+++ head/net/py-beanstalkc/pkg-descr	Sat Mar  8 03:24:56 2014	(r347445)
@@ -1,3 +1,3 @@
 beanstalkc is a simple beanstalkd client library for Python.
 
-WWW: https://pypi.python.org/pypi/beanstalkc/
+WWW: https://github.com/earl/beanstalkc/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403080324.s283OvVr005628>