[med-svn] [python-rdflib-jsonld] 02/02: initial debianization

Michael Crusoe misterc-guest at moszumanska.debian.org
Fri Feb 5 16:51:44 UTC 2016


This is an automated email from the git hooks/post-receive script.

misterc-guest pushed a commit to branch master
in repository python-rdflib-jsonld.

commit 5024190011cfc5191cc34915bbf16d856f1f4149
Author: Michael R. Crusoe <crusoe at ucdavis.edu>
Date:   Fri Feb 5 03:13:20 2016 -0800

    initial debianization
---
 debian/changelog                |  5 ++++
 debian/compat                   |  1 +
 debian/control                  | 53 +++++++++++++++++++++++++++++++++++++++++
 debian/copyright                | 11 +++++++++
 debian/patches/series           |  1 +
 debian/patches/try-older-rdflib | 13 ++++++++++
 debian/rules                    | 25 +++++++++++++++++++
 debian/source/format            |  1 +
 debian/upstream/metadata        | 12 ++++++++++
 debian/watch                    |  3 +++
 10 files changed, 125 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..1927d1b
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-rdflib-jsonld (0.3-1) UNRELEASED; urgency=medium
+
+  * Initial release. (Closes: #XXXXXX)
+
+ -- Michael R. Crusoe <crusoe at ucdavis.edu>  Fri, 05 Feb 2016 02:18:38 -0800
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..77540f2
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,53 @@
+Source: python-rdflib-jsonld
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Michael R. Crusoe <crusoe at ucdavis.edu>
+Section: python
+Priority: optional
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               python,
+               python-all,
+               python-setuptools,
+               python-rdflib,
+               python-html5lib,
+               python-sparqlwrapper,
+               python-nose,
+               python-sphinx,
+               python3-setuptools,
+               python3,
+               python3-all,
+               python3-rdflib,
+               python3-html5lib,
+               python3-sparqlwrapper,
+               python3-nose,
+               python3-sphinx
+Standards-Version: 3.9.7
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/python-rdflib-jsonld.git
+Vcs-Git: https://anonscm.debian.org/git/debian-med/python-rdflib-jsonld.git
+Homepage: https://github.com/RDFLib/rdflib-jsonld
+X-Python-Version: >= 2.5
+X-Python3-Version: >= 3.2
+
+Package: python-rdflib-jsonld
+Architecture: all
+Depends: ${python:Depends},
+         ${misc:Depends}
+Description: rdflib extension adding JSON-LD parser and serializer in Python 2
+ This parser/serialiser will
+ .
+  - read in an JSON-LD formatted document and create an RDF graph
+  - serialize an RDF graph to JSON-LD formatted output
+ .
+ This is the Python 2 version.
+
+Package: python3-rdflib-jsonld
+Architecture: all
+Depends: ${python:Depends},
+         ${misc:Depends}
+Description: rdflib extension adding JSON-LD parser and serializer in Python 3
+ This parser/serialiser will
+ .
+  - read in an JSON-LD formatted document and create an RDF graph
+  - serialize an RDF graph to JSON-LD formatted output
+ .
+ This is the Python 3 version.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..9203ec2
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,11 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: schema-salad
+Source: https://pypi.python.org/pypi/rdflib-jsonld
+
+Files: *
+Copyright: No copyright declared
+License: Expat
+
+Files: debian/*
+Copyright: © 2016 Michael R. Crusoe <crusoe at ucdavis.edu>
+License: Expat
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..547ae0b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+try-older-rdflib
diff --git a/debian/patches/try-older-rdflib b/debian/patches/try-older-rdflib
new file mode 100644
index 0000000..79a9876
--- /dev/null
+++ b/debian/patches/try-older-rdflib
@@ -0,0 +1,13 @@
+Author: Michael R. Crusoe <crusoe at ucdavis.edu>
+Description: Doesn't really seem to need version 4.2
+--- python-rdflib-jsonld.orig/setup.py
++++ python-rdflib-jsonld/setup.py
+@@ -93,7 +93,7 @@
+                    ],
+     packages = ["rdflib_jsonld"],
+     test_suite = "test",
+-    install_requires = ["rdflib>=4.2"],
++    install_requires = ["rdflib>=4.1"],
+     entry_points = {
+         'rdf.plugins.parser': [
+             'json-ld = rdflib_jsonld.parser:JsonLDParser',
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..b53ee59
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,25 @@
+#!/usr/bin/make -f
+
+DH_VERBOSE := 1
+
+# some helpful variables - uncomment them if needed
+# shamelessly stolen from http://jmtd.net/log/awk/
+#DEBVERS        := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')
+#VERSION        := $(shell echo '$(DEBVERS)' | sed -e 's/^[0-9]*://' -e 's/-.*//')
+#DEBFLAVOR      := $(shell dpkg-parsechangelog | awk '/^Distribution:/ {print $$2}')
+#DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
+#DEBIAN_BRANCH  := $(shell awk 'BEGIN{FS="[= ]+"} /debian-branch/ {print $$2}' debian/gbp.conf)
+#GIT_TAG        := $(subst ~,_,$(VERSION))
+
+# alternatively to manually set those variables, you can
+#  include /usr/share/dpkg/default.mk
+# and use what is set there.
+
+export PYBUILD_NAME=rdflib-jsonld
+export PYBUILD_DISABLE_python3=test
+%:
+	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -Rf build
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..d8b5812
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,12 @@
+Reference:
+  Author: 
+  Title: 
+  Journal: 
+  Year: 
+  Volume: 
+  Number: 
+  Pages: 
+  DOI: 
+  PMID:
+  URL: 
+  eprint: 
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..cee29f9
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/rdflib-jsonld/rdflib-jsonld-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-rdflib-jsonld.git



More information about the debian-med-commit mailing list