package/python-pbr: new package
authorAdam Duskett <aduskett@greenlots.com>
Mon, 25 Nov 2019 19:38:48 +0000 (11:38 -0800)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 24 Dec 2019 14:41:55 +0000 (15:41 +0100)
PBR is a library that injects some useful and sensible default
behaviors into a setuptools run.

Signed-off-by: Adam Duskett <aduskett@greenlots.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
package/python-pbr/python-pbr.hash [new file with mode: 0644]
package/python-pbr/python-pbr.mk [new file with mode: 0644]

index 284fc7c57e2a2f9c1f3b45a6c83be81d88a22961..a125b45b387e717a8de5a6f616907c8eaca32641 100644 (file)
@@ -64,6 +64,7 @@ F:    package/python-django-enumfields/
 F:     package/python-flask-sqlalchemy/
 F:     package/python-gitdb2/
 F:     package/python-mutagen/
+F:     package/python-pbr/
 F:     package/python-pip/
 F:     package/python-psycopg2/
 F:     package/python-smmap2/
diff --git a/package/python-pbr/python-pbr.hash b/package/python-pbr/python-pbr.hash
new file mode 100644 (file)
index 0000000..cca9de0
--- /dev/null
@@ -0,0 +1,6 @@
+# md5, sha256 from https://pypi.org/pypi/pbr/json
+md5    477d2aa285ad97250a172b199f4060b7  pbr-5.4.3.tar.gz
+sha256 2c8e420cd4ed4cec4e7999ee47409e876af575d4c35a45840d59e8b5f3155ab8  pbr-5.4.3.tar.gz
+# Locally computed sha256 checksums
+sha256 5df2a0d87d6c562f0ea11c688ac52532aa28d744cabc7994ff0537f64b3b3320  LICENSE
+sha256 eb4a8c8791f6caab1cf36df26db2b6f4e2ddda52657b060ff7f02abc63910aef  pbr/tests/testpackage/LICENSE.txt
diff --git a/package/python-pbr/python-pbr.mk b/package/python-pbr/python-pbr.mk
new file mode 100644 (file)
index 0000000..12b5b56
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-pbr
+#
+################################################################################
+
+PYTHON_PBR_VERSION = 5.4.3
+PYTHON_PBR_SOURCE = pbr-$(PYTHON_PBR_VERSION).tar.gz
+PYTHON_PBR_SITE = https://files.pythonhosted.org/packages/99/f1/7807d3409c79905a907f1c616d910c921b2a8e73c17b2969930318f44777
+PYTHON_PBR_SETUP_TYPE = setuptools
+PYTHON_PBR_LICENSE = Apache-2.0 (module), BSD-3-Clause (test package)
+PYTHON_PBR_LICENSE_FILES = LICENSE pbr/tests/testpackage/LICENSE.txt
+
+$(eval $(host-python-package))