mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
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/
This commit is contained in:
parent
70e597f144
commit
aeb5adc715
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=187196
@ -386,6 +386,7 @@
|
||||
SUBDIR += py-distutils
|
||||
SUBDIR += py-osd
|
||||
SUBDIR += py-pexpect
|
||||
SUBDIR += py-yolk
|
||||
SUBDIR += pybliographer
|
||||
SUBDIR += pylize
|
||||
SUBDIR += pypanda
|
||||
|
74
misc/py-yolk/Makefile
Normal file
74
misc/py-yolk/Makefile
Normal file
@ -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>
|
3
misc/py-yolk/distinfo
Normal file
3
misc/py-yolk/distinfo
Normal file
@ -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
|
5
misc/py-yolk/pkg-descr
Normal file
5
misc/py-yolk/pkg-descr
Normal file
@ -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/
|
61
misc/py-yolk/pkg-plist
Normal file
61
misc/py-yolk/pkg-plist
Normal file
@ -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%%
|
Loading…
Reference in New Issue
Block a user