svn commit: r324722 - head/misc/py-yolk
Nicola Vitale
nivit at FreeBSD.org
Wed Aug 14 14:00:21 UTC 2013
Author: nivit
Date: Wed Aug 14 14:00:20 2013
New Revision: 324722
URL: http://svnweb.freebsd.org/changeset/ports/324722
Log:
- Update to 0.4.3
- Trim Makefile header
- Remove dead link from MASTER_SITES
- Remove indefinite article from COMMENT
- Add LICENSE (BSD)
- Convert to the new options framework
- Update WWW field in pkg-descr
Build details: http://goo.gl/l5Fmwu
Modified:
head/misc/py-yolk/Makefile (contents, props changed)
head/misc/py-yolk/distinfo (contents, props changed)
head/misc/py-yolk/pkg-descr (contents, props changed)
Modified: head/misc/py-yolk/Makefile
==============================================================================
--- head/misc/py-yolk/Makefile Wed Aug 14 13:59:30 2013 (r324721)
+++ head/misc/py-yolk/Makefile Wed Aug 14 14:00:20 2013 (r324722)
@@ -1,47 +1,50 @@
-# New ports collection makefile for: yolk
-# Date created: 2007-03-11
-# Whom: Nicola Vitale <nivit at FreeBSD.org>
-#
+# Created by: Nicola Vitale <nivit at FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= yolk
-PORTVERSION= 0.4.1
-PORTREVISION= 1
+PORTVERSION= 0.4.3
+PORTREVISION= 0
CATEGORIES= misc python
-MASTER_SITES= ${MASTER_SITE_CHEESESHOP} \
- http://nivi.interfree.it/distfiles/${PORTNAME}/
+MASTER_SITES= ${MASTER_SITE_CHEESESHOP}
MASTER_SITE_SUBDIR= source/y/${PORTNAME}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit at FreeBSD.org
-COMMENT= A Python tool for listing packages installed by setuptools
+COMMENT= Command-line tool for querying PyPI and Python packages installed
-USE_PYTHON= 2.6+
-USE_PYDISTUTILS= easy_install
+LICENSE= BSD
+
+OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options
+OPTIONS_DEFINE= EXAMPLES MANPAGES
+OPTIONS_DEFAULT= MANPAGES
-.if !defined (NO_INSTALL_MANPAGES)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MMANPAGES}
MAN1= ${PORTNAME}.1
.endif
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} == 271 || ${PYTHON_REL} == 320
-IGNORE= does not work with ${PYTHON_VERSION} (see http://goo.gl/SZpDN)
+.if ${PORT_OPTIONS:MEXAMPLES}
+EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
.endif
+USE_PYTHON= 2.6-2.7
+USE_PYDISTUTILS= easy_install
+
post-install:
-.if !defined (NO_INSTALL_MANPAGES)
- @${INSTALL_DATA} ${WRKSRC}/docs/${PORTNAME}.1 ${MANPREFIX}/man/man1/${PORTNAME}.1
+.if ${PORT_OPTIONS:MMANPAGES}
+ ${INSTALL_DATA} ${WRKSRC}/docs/${PORTNAME}.1 ${MANPREFIX}/man/man1/${PORTNAME}.1
.endif
-.if !defined (NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
@cd ${WRKSRC}/examples && ${FIND} . -type d -exec ${MKDIR} ${EXAMPLESDIR}/{} ";"
- @cd ${WRKSRC}/examples && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${EXAMPLESDIR}/{} ";"
+ cd ${WRKSRC}/examples && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${EXAMPLESDIR}/{} ";"
.endif
-.if !defined (NOPORTEXAMPLES)
-EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} == 271 || ${PYTHON_REL} == 320
+IGNORE= does not work with ${PYTHON_VERSION} (see http://goo.gl/SZpDN)
.endif
.include <bsd.port.post.mk>
Modified: head/misc/py-yolk/distinfo
==============================================================================
--- head/misc/py-yolk/distinfo Wed Aug 14 13:59:30 2013 (r324721)
+++ head/misc/py-yolk/distinfo Wed Aug 14 14:00:20 2013 (r324722)
@@ -1,2 +1,2 @@
-SHA256 (yolk-0.4.1.tar.gz) = f03d9ebe2fa67aa210868312a474d949d26732b743aeece970e06f02ff740212
-SIZE (yolk-0.4.1.tar.gz) = 80537
+SHA256 (yolk-0.4.3.tar.gz) = 1c07eb4001dc133c08e66e38c5d58faa7616ae804f8d0ab02dd44a1044e7ddb8
+SIZE (yolk-0.4.3.tar.gz) = 86100
Modified: head/misc/py-yolk/pkg-descr
==============================================================================
--- head/misc/py-yolk/pkg-descr Wed Aug 14 13:59:30 2013 (r324721)
+++ head/misc/py-yolk/pkg-descr Wed Aug 14 14:00:20 2013 (r324722)
@@ -2,4 +2,4 @@ Yolk is a Python library and command-lin
about packages installed by setuptools and packages on PyPI (Python Package
Index a.k.a. The Cheese Shop).
-WWW: http://tools.assembla.com/yolk/
+WWW: https://pypi.python.org/pypi/yolk
More information about the svn-ports-head
mailing list