svn commit: r342100 - head/devel/py-sanetime

Kubilay Kocak koobs at FreeBSD.org
Sat Feb 1 08:55:14 UTC 2014


Author: koobs
Date: Sat Feb  1 08:55:13 2014
New Revision: 342100
URL: http://svnweb.freebsd.org/changeset/ports/342100
QAT: https://qat.redports.org/buildarchive/r342100/

Log:
  devel/py-sanetime: Modernize: STAGE, AUTOPLIST and more
  
  - Enable STAGE support
  - Enable AUTOPLIST, delete pkg-plist
  - Deprecate easy_install target
  - Deprecate OPTIONSFILE override
  - pkg-descr: Tab to space in WWW:
  - Remove indefinite article from COMMENT
  - Sort Makefile sections
  - Bump PORTREVISION

Deleted:
  head/devel/py-sanetime/pkg-plist
Modified:
  head/devel/py-sanetime/Makefile
  head/devel/py-sanetime/pkg-descr

Modified: head/devel/py-sanetime/Makefile
==============================================================================
--- head/devel/py-sanetime/Makefile	Sat Feb  1 08:48:04 2014	(r342099)
+++ head/devel/py-sanetime/Makefile	Sat Feb  1 08:55:13 2014	(r342100)
@@ -3,12 +3,13 @@
 
 PORTNAME=	sanetime
 PORTVERSION=	4.2.3
+PORTREVISION=	1
 CATEGORIES=	devel python astro
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	koobs at FreeBSD.org
-COMMENT=	A sane date/time Python interface, with Django support
+COMMENT=	Sane date/time Python interface, with Django support
 
 LICENSE=	MIT
 
@@ -18,17 +19,14 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}uni
 
 OPTIONS_DEFINE=	TESTS
 TESTS_DESC=	Include tools for unit tests
-OPTIONSFILE?=	${PORT_DBDIR}/py-${PORTNAME}/options
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+USE_PYTHON=		2
+USE_PYDISTUTILS=	yes
+PYDISTUTILS_AUTOPLIST=	yes
 
-.if ${PORT_OPTIONS:MTESTS}
-BUILD_DEPENDS:=	${TEST_DEPENDS}
-.endif
+TESTS_BUILD_DEPENDS=	${TEST_DEPENDS}
 
-USE_PYTHON=		2
-USE_PYDISTUTILS=	easy_install
+.include <bsd.port.options.mk>
 
 regression-test: build
 	cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test

Modified: head/devel/py-sanetime/pkg-descr
==============================================================================
--- head/devel/py-sanetime/pkg-descr	Sat Feb  1 08:48:04 2014	(r342099)
+++ head/devel/py-sanetime/pkg-descr	Sat Feb  1 08:55:13 2014	(r342100)
@@ -1,4 +1,4 @@
 A sane date/time Python interface: better epoch time, timezones, and deltas
 with Django support as well
 
-WWW:	https://github.com/HubSpot/sanetime
+WWW: https://github.com/HubSpot/sanetime


More information about the svn-ports-head mailing list