pkgsrc/textproc/py-rdflib/Makefile
adam feeb669bae py-rdflib: updated to 5.0.0
RELEASE 5.0.0

5.0.0 is a major stable release and is the last release to support Python 2 & 3.4. 5.0.0 is mostly backwards-
compatible with 4.2.2 and is intended for long-term, bug fix only support.

General Bugs Fixed:
  * Fix n3 parser exponent syntax of floats with leading dot.
  * FIX: Change is comparison to == for tuple
  * fix: Added _parseBoolean function to enforce correct Lexical-to-value mapping

Enhanced Features:
  * Issue 1003

SPARQL Fixes:
  * CONSTRUCT resolve with initBindings

Documentation Fixes:
  * DOC: Use sphinxcontrib-apidoc and various cleanups
  * Update copyright year in docs conf.py
  * slightly improved styling, small index text changes
2021-04-16 12:17:43 +00:00

40 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.8 2021/04/16 12:17:43 adam Exp $
DISTNAME= rdflib-5.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=r/rdflib/}
MAINTAINER= kamelderouiche@yahoo.com
HOMEPAGE= https://github.com/RDFLib/rdflib
COMMENT= Python library for working with RDF
LICENSE= 2-clause-bsd
DEPENDS+= ${PYPKGPREFIX}-isodate-[0-9]*:../../time/py-isodate
DEPENDS+= ${PYPKGPREFIX}-pyparsing-[0-9]*:../../devel/py-pyparsing
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
TEST_DEPENDS+= ${PYPKGPREFIX}-html5lib-[0-9]*:../../textproc/py-html5lib
TEST_DEPENDS+= ${PYPKGPREFIX}-networkx-[0-9]*:../../math/py-networkx
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-networkx
REPLACE_PYTHON+= rdflib/extras/describer.py rdflib/extras/infixowl.py
REPLACE_PYTHON+= rdflib/plugins/parsers/notation3.py
REPLACE_PYTHON+= rdflib/plugins/parsers/ntriples.py
REPLACE_PYTHON+= rdflib/plugins/parsers/pyRdfa/extras/httpheader.py
REPLACE_PYTHON+= rdflib/plugins/parsers/structureddata.py
REPLACE_PYTHON+= rdflib/tools/rdfpipe.py
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} csv2rdf csv2rdf-${PYVERSSUFFIX} && \
${MV} rdf2dot rdf2dot-${PYVERSSUFFIX} && \
${MV} rdfgraphisomorphism rdfgraphisomorphism-${PYVERSSUFFIX} && \
${MV} rdfpipe rdfpipe-${PYVERSSUFFIX} && \
${MV} rdfs2dot rdfs2dot-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"