diff options
author | nivit <nivit@FreeBSD.org> | 2007-03-12 18:07:59 +0800 |
---|---|---|
committer | nivit <nivit@FreeBSD.org> | 2007-03-12 18:07:59 +0800 |
commit | bc221fb2f6cfc8e06a6d32377421dd365de47d49 (patch) | |
tree | 6fbab0ab0c628d6177e7889988670b0475743523 /misc | |
parent | 4f9ccc612c01823df2763af7bbcb8a2b0d2d19e1 (diff) | |
download | freebsd-ports-gnome-bc221fb2f6cfc8e06a6d32377421dd365de47d49.tar.gz freebsd-ports-gnome-bc221fb2f6cfc8e06a6d32377421dd365de47d49.tar.zst freebsd-ports-gnome-bc221fb2f6cfc8e06a6d32377421dd365de47d49.zip |
Yolk is a Python library and command-line tool for obtaining information
about packages installed by setuptools and packages on PyPI (Python Package
Index a.k.a. The Cheese Shop).
WWW: http://tools.assembla.com/yolk/
Diffstat (limited to 'misc')
-rw-r--r-- | misc/Makefile | 1 | ||||
-rw-r--r-- | misc/py-yolk/Makefile | 74 | ||||
-rw-r--r-- | misc/py-yolk/distinfo | 3 | ||||
-rw-r--r-- | misc/py-yolk/pkg-descr | 5 | ||||
-rw-r--r-- | misc/py-yolk/pkg-plist | 61 |
5 files changed, 144 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile index ac7758440cb8..bd24b004faef 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -386,6 +386,7 @@ SUBDIR += py-distutils SUBDIR += py-osd SUBDIR += py-pexpect + SUBDIR += py-yolk SUBDIR += pybliographer SUBDIR += pylize SUBDIR += pypanda diff --git a/misc/py-yolk/Makefile b/misc/py-yolk/Makefile new file mode 100644 index 000000000000..10a225b5a0ff --- /dev/null +++ b/misc/py-yolk/Makefile @@ -0,0 +1,74 @@ +# New ports collection makefile for: yolk +# Date created: 2007-03-11 +# Whom: Nicola Vitale <nivit@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= yolk +PORTVERSION= 0.0.6 +CATEGORIES= misc python +MASTER_SITES= http://cheeseshop.python.org/packages/source/y/${PORTNAME}/ \ + http://nivi.interfree.it/distfiles/${PORTNAME}/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= nivit@FreeBSD.org +COMMENT= A Python tool for listing packages installed by setuptools + +BUILD_DEPENDS+= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools +RUN_DEPENDS+= ${BUILD_DEPENDS} + +OPTIONS= PYPI_RSS "Enable fetching PyPI RSS feed" On +OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options + +USE_PYTHON= yes +USE_PYDISTUTILS= yes + +.if !defined (NOPORTDOCS) +DOCSDIR= ${TARGETDIR}/share/doc/py-${PORTNAME} +.if !defined (NO_INSTALL_MAN) +MAN1= ${PORTNAME}.1 +.endif +.endif + +PYDISTUTILS_BUILD_TARGET= bdist_egg +PYDISTUTILS_INSTALL_TARGET= easy_install +PYDISTUTILS_INSTALLARGS= -N -s ${PREFIX}/bin -S ${PYTHON_SITELIBDIR} dist/${PYYOLK_EGG} + +PLIST_SUB= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \ + PYYOLK_EGG=${PYYOLK_EGG} PYYOLK_EGG_VER=${PYYOLK_EGG_VER} \ + PORTEXAMPLES=${PORTEXAMPLES} + +EASY_INSTALL_CMD= easy_install-${PYTHON_VER} + +PYYOLK_EGG= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}.egg +PYYOLK_EGG_VER= "${PORTNAME}==${PORTVERSION}" + +.include <bsd.port.pre.mk> + +post-install: +.if !defined (NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + @cd ${WRKSRC}/docs && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} ";" + @cd ${WRKSRC}/docs && ${FIND} api -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} ";" +.if !defined (NO_INSTALL_MAN) + @${INSTALL_DATA} ${WRKSRC}/docs/${PORTNAME}.1 ${MANPREFIX}/man/man1/${PORTNAME}.1 +.endif +.endif +.if !defined (WITHOUT_EXAMPLES) + @${MKDIR} ${EXAMPLESDIR} + @cd ${WRKSRC}/examples && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${EXAMPLESDIR}/{} ";" +.endif + +.if defined (WITH_PYPI_RSS) +RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/elementtree/__init__.py:${PORTSDIR}/devel/py-elementtree +.endif + +.if defined (WITHOUT_EXAMPLES) +PORTEXAMPLES= "@comment " +.else +EXAMPLESDIR= ${TARGETDIR}/share/examples/py-${PORTNAME} +PORTEXAMPLES= "" +.endif + +.include <bsd.port.post.mk> diff --git a/misc/py-yolk/distinfo b/misc/py-yolk/distinfo new file mode 100644 index 000000000000..798fcdd25909 --- /dev/null +++ b/misc/py-yolk/distinfo @@ -0,0 +1,3 @@ +MD5 (yolk-0.0.6.tar.gz) = 94f62413f17e66cd61b22942bb59a49d +SHA256 (yolk-0.0.6.tar.gz) = c5c83831ab708a1ee51f4b14ab96b549c21721bc83b5a39957b29d0d283165f1 +SIZE (yolk-0.0.6.tar.gz) = 34682 diff --git a/misc/py-yolk/pkg-descr b/misc/py-yolk/pkg-descr new file mode 100644 index 000000000000..47ca5ea8a53e --- /dev/null +++ b/misc/py-yolk/pkg-descr @@ -0,0 +1,5 @@ +Yolk is a Python library and command-line tool for obtaining information +about packages installed by setuptools and packages on PyPI (Python Package +Index a.k.a. The Cheese Shop). + +WWW: http://tools.assembla.com/yolk/ diff --git a/misc/py-yolk/pkg-plist b/misc/py-yolk/pkg-plist new file mode 100644 index 000000000000..3cb0724aee6a --- /dev/null +++ b/misc/py-yolk/pkg-plist @@ -0,0 +1,61 @@ +@comment $FreeBSD$ +bin/yolk +%%PORTDOCS%%%%DOCSDIR%%/api/epydoc.css +%%PORTDOCS%%%%DOCSDIR%%/api/index.html +%%PORTDOCS%%%%DOCSDIR%%/api/private/epydoc.css +%%PORTDOCS%%%%DOCSDIR%%/api/private/exceptions.Exception-class.html +%%PORTDOCS%%%%DOCSDIR%%/api/private/frames.html +%%PORTDOCS%%%%DOCSDIR%%/api/private/help.html +%%PORTDOCS%%%%DOCSDIR%%/api/private/index.html +%%PORTDOCS%%%%DOCSDIR%%/api/private/indices.html +%%PORTDOCS%%%%DOCSDIR%%/api/private/toc-everything.html +%%PORTDOCS%%%%DOCSDIR%%/api/private/toc-yolk-module.html +%%PORTDOCS%%%%DOCSDIR%%/api/private/toc-yolk.__version__-module.html +%%PORTDOCS%%%%DOCSDIR%%/api/private/toc-yolk.cli-module.html +%%PORTDOCS%%%%DOCSDIR%%/api/private/toc-yolk.metadata-module.html +%%PORTDOCS%%%%DOCSDIR%%/api/private/toc-yolk.pypi-module.html +%%PORTDOCS%%%%DOCSDIR%%/api/private/toc-yolk.yolklib-module.html +%%PORTDOCS%%%%DOCSDIR%%/api/private/toc.html +%%PORTDOCS%%%%DOCSDIR%%/api/private/trees.html +%%PORTDOCS%%%%DOCSDIR%%/api/private/yolk-module.html +%%PORTDOCS%%%%DOCSDIR%%/api/private/yolk.__version__-module.html +%%PORTDOCS%%%%DOCSDIR%%/api/private/yolk.cli-module.html +%%PORTDOCS%%%%DOCSDIR%%/api/private/yolk.cli.Usage-class.html +%%PORTDOCS%%%%DOCSDIR%%/api/private/yolk.metadata-module.html +%%PORTDOCS%%%%DOCSDIR%%/api/private/yolk.pypi-module.html +%%PORTDOCS%%%%DOCSDIR%%/api/private/yolk.pypi.CheeseShop-class.html +%%PORTDOCS%%%%DOCSDIR%%/api/private/yolk.yolklib-module.html +%%PORTDOCS%%%%DOCSDIR%%/api/private/yolk.yolklib.Distributions-class.html +%%PORTDOCS%%%%DOCSDIR%%/api/public/epydoc.css +%%PORTDOCS%%%%DOCSDIR%%/api/public/exceptions.Exception-class.html +%%PORTDOCS%%%%DOCSDIR%%/api/public/frames.html +%%PORTDOCS%%%%DOCSDIR%%/api/public/help.html +%%PORTDOCS%%%%DOCSDIR%%/api/public/index.html +%%PORTDOCS%%%%DOCSDIR%%/api/public/indices.html +%%PORTDOCS%%%%DOCSDIR%%/api/public/toc-everything.html +%%PORTDOCS%%%%DOCSDIR%%/api/public/toc-yolk-module.html +%%PORTDOCS%%%%DOCSDIR%%/api/public/toc-yolk.__version__-module.html +%%PORTDOCS%%%%DOCSDIR%%/api/public/toc-yolk.cli-module.html +%%PORTDOCS%%%%DOCSDIR%%/api/public/toc-yolk.metadata-module.html +%%PORTDOCS%%%%DOCSDIR%%/api/public/toc-yolk.pypi-module.html +%%PORTDOCS%%%%DOCSDIR%%/api/public/toc-yolk.yolklib-module.html +%%PORTDOCS%%%%DOCSDIR%%/api/public/toc.html +%%PORTDOCS%%%%DOCSDIR%%/api/public/trees.html +%%PORTDOCS%%%%DOCSDIR%%/api/public/yolk-module.html +%%PORTDOCS%%%%DOCSDIR%%/api/public/yolk.__version__-module.html +%%PORTDOCS%%%%DOCSDIR%%/api/public/yolk.cli-module.html +%%PORTDOCS%%%%DOCSDIR%%/api/public/yolk.cli.Usage-class.html +%%PORTDOCS%%%%DOCSDIR%%/api/public/yolk.metadata-module.html +%%PORTDOCS%%%%DOCSDIR%%/api/public/yolk.pypi-module.html +%%PORTDOCS%%%%DOCSDIR%%/api/public/yolk.pypi.CheeseShop-class.html +%%PORTDOCS%%%%DOCSDIR%%/api/public/yolk.yolklib-module.html +%%PORTDOCS%%%%DOCSDIR%%/api/public/yolk.yolklib.Distributions-class.html +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rss_feed.py +%%PORTDOCS%%@dirrm %%DOCSDIR%%/api/private +%%PORTDOCS%%@dirrm %%DOCSDIR%%/api/public +%%PORTDOCS%%@dirrm %%DOCSDIR%%/api +%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% +@unexec %%EASY_INSTALL_CMD%% -q -x -m -N -S %D/%%PYTHON_SITELIBDIR%% %%PYYOLK_EGG_VER%% +%%PYTHON_SITELIBDIR%%/%%PYYOLK_EGG%% +@exec %%EASY_INSTALL_CMD%% -x -N -S %D/%%PYTHON_SITELIBDIR%% %%PYYOLK_EGG_VER%% |