openbsd-ports/textproc/py-rdflib/Makefile
jasper ff6de85aa3 import py-rdflib-3.2.2
RDFLib is a Python library for working with RDF, a simple yet powerful
language for representing information.  The library contains parsers and
serializers for RDF/XML, N3, NTriples, Turtle, TriX and RDFa.  The
library presents a Graph interface which can be backed by any one of a
number of Store implementations.  This core RDFLib package includes
store implementations for in memory storage and persistent storage on
top of the Berkeley DB.

ok aja@
2012-09-29 10:27:14 +00:00

44 lines
911 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2012/09/29 10:27:14 jasper Exp $
PKG_ARCH = *
COMMENT= library to manipulate RDF data
MODPY_EGG_VERSION= 3.2.2
DISTNAME = rdflib-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES= textproc
HOMEPAGE= https://github.com/RDFLib/rdflib
# MIT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= https://github.com/downloads/RDFLib/rdflib/
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
RUN_DEPENDS = devel/py-isodate
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_REGRESS = Yes
post-install:
${INSTALL_DATA_DIR} ${EXAMPLES_DIR}
${INSTALL_SCRIPT} ${WRKSRC}/examples/*.py ${EXAMPLES_DIR}
.include <bsd.port.mk>