diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..da83fd6 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +repomd (0.2.1-1+swh1) unstable-swh; urgency=medium + + * Initial release. + + -- Antoine R. Dumont (@ardumont) Mon, 02 Jan 2023 15:47:00 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b4de394 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +11 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..f03ee47 --- /dev/null +++ b/debian/control @@ -0,0 +1,24 @@ +Source: repomd +Section: python +Priority: optional +Maintainer: Software Heritage Developers +Build-Depends: debhelper (>= 11), + dh-python (>= 2), + python3-all, + python3-lxml, + python3-defusedxml, + python3-pytest, + python3-pytest-cov, + python3-pytest-flake8, + python3-setuptools, +Standards-Version: 4.1.3 +Homepage: https://github.com/carlwgeorge/repomd + +Package: python3-repomd +Architecture: all +Depends: ${misc:Depends}, ${python3:Depends} +Description: Python library for parsing dnf/yum repositories + This library provides an object-oriented interface to get information out of + dnf/yum repositories. + + diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..7f63e3e --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,5 @@ +[DEFAULT] +upstream-branch=debian/upstream +upstream-tag=debian/upstream/%(version)s +debian-branch=debian/unstable-swh +pristine-tar=True diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..50f1974 --- /dev/null +++ b/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +export PYBUILD_NAME=repomd +# export PYBUILD_TEST_ARGS=-o xfail_strict=False + +%: + dh $@ --with python3 --buildsystem=pybuild + +# override_dh_auto_install: +# dh_auto_install +# rm -r $(CURDIR)/debian/*/usr/lib/python3.*/dist-packages/.coverage +# rm -r $(CURDIR)/debian/*/usr/lib/python3.*/dist-packages/.pytest_cache 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)