Add a python3 FLAVOR.

This commit is contained in:
ajacoutot 2013-09-10 11:59:16 +00:00
parent 3e12860116
commit ef90f2e720
2 changed files with 57 additions and 61 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.2 2013/03/11 11:42:46 espie Exp $
# $OpenBSD: Makefile,v 1.3 2013/09/10 11:59:16 ajacoutot Exp $
PKG_ARCH = *
@ -7,6 +7,7 @@ COMMENT= library to manipulate RDF data
MODPY_EGG_VERSION= 3.2.2
DISTNAME = rdflib-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
REVISION = 0
CATEGORIES= textproc
@ -19,22 +20,19 @@ MASTER_SITES= https://github.com/downloads/RDFLib/rdflib/
MODULES = lang/python
FLAVORS = python3
FLAVOR ?=
MODPY_SETUPTOOLS = Yes
RUN_DEPENDS = devel/py-isodate
RUN_DEPENDS = devel/py-isodate${MODPY_FLAVOR}
MODPY_ADJ_FILES = rdflib/plugins/parsers/ntriples.py \
run_tests.py \
setup.py \
rdflib/plugins/parsers/notation3.py
EXAMPLES_DIR = ${PREFIX}/share/examples/py-rdflib/
# Stupid infrastructure needs absolute imports
NO_TEST = Yes
post-install:
${INSTALL_DATA_DIR} ${EXAMPLES_DIR}
${INSTALL_SCRIPT} ${WRKSRC}/examples/*.py ${EXAMPLES_DIR}
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/09/29 10:27:14 jasper Exp $
@comment $OpenBSD: PLIST,v 1.2 2013/09/10 11:59:16 ajacoutot Exp $
lib/python${MODPY_VERSION}/site-packages/rdflib/
lib/python${MODPY_VERSION}/site-packages/rdflib-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/rdflib-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
@ -7,103 +7,101 @@ lib/python${MODPY_VERSION}/site-packages/rdflib-${MODPY_EGG_VERSION}-py${MODPY_V
lib/python${MODPY_VERSION}/site-packages/rdflib-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
lib/python${MODPY_VERSION}/site-packages/rdflib-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/rdflib/__init__.py
lib/python${MODPY_VERSION}/site-packages/rdflib/__init__.pyc
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/rdflib/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/rdflib/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/${MODPY_PYCACHE}collection.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/${MODPY_PYCACHE}compare.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/${MODPY_PYCACHE}compat.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/${MODPY_PYCACHE}events.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/${MODPY_PYCACHE}exceptions.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/${MODPY_PYCACHE}graph.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/${MODPY_PYCACHE}namespace.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/${MODPY_PYCACHE}parser.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/${MODPY_PYCACHE}plugin.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/${MODPY_PYCACHE}py3compat.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/${MODPY_PYCACHE}query.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/${MODPY_PYCACHE}resource.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/${MODPY_PYCACHE}serializer.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/${MODPY_PYCACHE}store.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/${MODPY_PYCACHE}term.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/${MODPY_PYCACHE}util.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/collection.py
lib/python${MODPY_VERSION}/site-packages/rdflib/collection.pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/compare.py
lib/python${MODPY_VERSION}/site-packages/rdflib/compare.pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/compat.py
lib/python${MODPY_VERSION}/site-packages/rdflib/compat.pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/events.py
lib/python${MODPY_VERSION}/site-packages/rdflib/events.pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/exceptions.py
lib/python${MODPY_VERSION}/site-packages/rdflib/exceptions.pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/graph.py
lib/python${MODPY_VERSION}/site-packages/rdflib/graph.pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/namespace.py
lib/python${MODPY_VERSION}/site-packages/rdflib/namespace.pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/parser.py
lib/python${MODPY_VERSION}/site-packages/rdflib/parser.pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugin.py
lib/python${MODPY_VERSION}/site-packages/rdflib/plugin.pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/__init__.py
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/__init__.pyc
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/${MODPY_PYCACHE}memory.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/${MODPY_PYCACHE}sleepycat.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/memory.py
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/memory.pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/__init__.py
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/__init__.pyc
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/${MODPY_PYCACHE}notation3.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/${MODPY_PYCACHE}nquads.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/${MODPY_PYCACHE}nt.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/${MODPY_PYCACHE}ntriples.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/${MODPY_PYCACHE}rdfxml.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/${MODPY_PYCACHE}trix.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/notation3.py
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/notation3.pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/nquads.py
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/nquads.pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/nt.py
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/nt.pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/ntriples.py
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/ntriples.pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/rdfa/
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/rdfa/__init__.py
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/rdfa/__init__.pyc
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/rdfa/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/rdfa/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/rdfa/${MODPY_PYCACHE}embeddedrdf.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/rdfa/${MODPY_PYCACHE}literal.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/rdfa/${MODPY_PYCACHE}options.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/rdfa/${MODPY_PYCACHE}parse.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/rdfa/${MODPY_PYCACHE}state.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/rdfa/embeddedrdf.py
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/rdfa/embeddedrdf.pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/rdfa/literal.py
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/rdfa/literal.pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/rdfa/options.py
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/rdfa/options.pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/rdfa/parse.py
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/rdfa/parse.pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/rdfa/state.py
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/rdfa/state.pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/rdfa/transform/
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/rdfa/transform/__init__.py
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/rdfa/transform/__init__.pyc
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/rdfa/transform/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/rdfa/transform/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/rdfa/transform/${MODPY_PYCACHE}headabout.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/rdfa/transform/headabout.py
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/rdfa/transform/headabout.pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/rdfxml.py
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/rdfxml.pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/trix.py
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/parsers/trix.pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/serializers/
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/serializers/__init__.py
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/serializers/__init__.pyc
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/serializers/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/serializers/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/serializers/${MODPY_PYCACHE}n3.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/serializers/${MODPY_PYCACHE}nquads.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/serializers/${MODPY_PYCACHE}nt.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/serializers/${MODPY_PYCACHE}rdfxml.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/serializers/${MODPY_PYCACHE}trig.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/serializers/${MODPY_PYCACHE}trix.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/serializers/${MODPY_PYCACHE}turtle.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/serializers/${MODPY_PYCACHE}xmlwriter.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/serializers/n3.py
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/serializers/n3.pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/serializers/nquads.py
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/serializers/nquads.pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/serializers/nt.py
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/serializers/nt.pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/serializers/rdfxml.py
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/serializers/rdfxml.pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/serializers/trig.py
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/serializers/trig.pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/serializers/trix.py
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/serializers/trix.pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/serializers/turtle.py
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/serializers/turtle.pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/serializers/xmlwriter.py
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/serializers/xmlwriter.pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/sleepycat.py
lib/python${MODPY_VERSION}/site-packages/rdflib/plugins/sleepycat.pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/py3compat.py
lib/python${MODPY_VERSION}/site-packages/rdflib/py3compat.pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/query.py
lib/python${MODPY_VERSION}/site-packages/rdflib/query.pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/resource.py
lib/python${MODPY_VERSION}/site-packages/rdflib/resource.pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/serializer.py
lib/python${MODPY_VERSION}/site-packages/rdflib/serializer.pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/store.py
lib/python${MODPY_VERSION}/site-packages/rdflib/store.pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/term.py
lib/python${MODPY_VERSION}/site-packages/rdflib/term.pyc
lib/python${MODPY_VERSION}/site-packages/rdflib/util.py
lib/python${MODPY_VERSION}/site-packages/rdflib/util.pyc
share/examples/${MODPY_PY_PREFIX}rdflib/
share/examples/${MODPY_PY_PREFIX}rdflib/conjunctive_graphs.py
share/examples/${MODPY_PY_PREFIX}rdflib/example.py
share/examples/${MODPY_PY_PREFIX}rdflib/film.py
share/examples/${MODPY_PY_PREFIX}rdflib/simple_example.py
share/examples/${MODPY_PY_PREFIX}rdflib/sparql_query_example.py
share/examples/${MODPY_PY_PREFIX}rdflib/swap_primer.py
share/examples/${MODPY_PY_PREFIX}rdflib/update_namespace.py