Skip to contentSkip to conversation

python3-pastedeploy: Add recipe

PATCH New Khem Raj 2 participants 2 messages Mar 16, 2021

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH v3 1/1 python3-pastedeploy: Add recipe

From: Devon Pringle <[email protected]>

Add release 2.1.1:

- Added setuptools as an explicit dependency. This has always been required but now that more environments are becoming capable of operating without it being installed, we now need to ensure it's available.
- pytest-runner removed, use tox to run tests.

License-Update: Use license file from PyPI tarball.

---
v3: Merge the upgrade and add recipe patches
Fix License Checksum

 .../packagegroups/packagegroup-meta-python.bb |  1 +
 .../python/python3-pastedeploy_2.1.1.bb       | 21 +++++++++++++++++++
 2 files changed, 22 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pastedeploy_2.1.1.bb
meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +1 -0
index c6ac19a225..2748c50591 100644
@@ -251,6 +251,7 @@ RDEPENDS_packagegroup-meta-python3 = "\
     python3-parse-type \
     python3-parso \
     python3-passlib \
+    python3-pastedeploy \
     python3-pathtools3 \
     python3-pep8 \
     python3-periphery \
meta-python/recipes-devtools/python/python3-pastedeploy_2.1.1.bb new file +21 -0
new file mode 100644
index 0000000000..47508e2223
@@ -0,0 +1,21 @@
+SUMMARY = "Load, configure, and compose WSGI applications and servers"
+HOMEPAGE = "https://pylonsproject.org/"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://license.txt;md5=1798f29d55080c60365e6283cb49779c"
+
+inherit pypi
+PYPI_PACKAGE = "PasteDeploy"
+
+SRC_URI[sha256sum] = "6dead6ab9823a85d585ef27f878bc647f787edb9ca8da0716aa9f1261b464817"
+
+S = "${WORKDIR}/PasteDeploy-${PV}"
+
+inherit setuptools3
+
+# Uncomment this line to enable all the optional features.
+#PACKAGECONFIG ?= "paste docs"
+PACKAGECONFIG[paste] = ",,,python3-paste"
+PACKAGECONFIG[docs] = ",,,python3-sphinx python3-pylons-sphinx-themes"
+
+DEPENDS= "python3 python3-setuptools-scm-native python3-pytest-runner-native"
+RDEPENDS_${PN} += "python3-core  python3-misc python3-netclient python3-pkgutil python3-setuptools python3-threading python3-core"
Signature · 1 line
2.30.2
#1 lore raw

PATCH v3 1/1 python3-pastedeploy: Add recipe

From: Devon Pringle <[email protected]>

---
 .../packagegroups/packagegroup-meta-python.bb |  1 +
 .../python/python3-pastedeploy_2.0.1.bb       | 26 +++++++++++++++++++
 2 files changed, 27 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pastedeploy_2.0.1.bb
meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +1 -0
index 4512f839f..9530c7201 100644
@@ -251,6 +251,7 @@ RDEPENDS_packagegroup-meta-python3 = "\
     python3-parse-type \
     python3-parso \
     python3-passlib \
+    python3-pastedeploy \
     python3-pathtools3 \
     python3-pep8 \
     python3-periphery \
meta-python/recipes-devtools/python/python3-pastedeploy_2.0.1.bb new file +26 -0
new file mode 100644
index 000000000..b7c8c61d2
@@ -0,0 +1,26 @@
+SUMMARY = "Load, configure, and compose WSGI applications and servers"
+HOMEPAGE = "https://pylonsproject.org/"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${WORKDIR}/license.txt;md5=1798f29d55080c60365e6283cb49779c"
+
+inherit pypi
+PYPI_PACKAGE = "PasteDeploy"
+SRC_URI[md5sum] = "6193afccc0982abedb9b7711d0d6adb0"
+SRC_URI[sha256sum] = "d423fb9d51fdcf853aa4ff43ac7ec469b643ea19590f67488122d6d0d772350a"
+SRC_URI[PasteDeploy-license.txt.md5sum] = "1798f29d55080c60365e6283cb49779c"
+
+S = "${WORKDIR}/PasteDeploy-${PV}"
+
+inherit setuptools3
+
+# Uncomment this line to enable all the optional features.
+#PACKAGECONFIG ?= "paste docs"
+PACKAGECONFIG[paste] = ",,,python3-paste"
+PACKAGECONFIG[docs] = ",,,python3-sphinx python3-pylons-sphinx-themes"
+
+DEPENDS= "python3 python3-setuptools-scm-native python3-pytest-runner-native"
+RDEPENDS_${PN} += "python3-core  python3-misc python3-netclient python3-pkgutil python3-setuptools python3-threading python3-core"
+
+# PyPI tarball is missing license.txt
+# We will need to keep retrieving this from the online repository until version 2.1.0
+SRC_URI += "https://raw.githubusercontent.com/Pylons/pastedeploy/2.0.1/license.txt;name=PasteDeploy-license.txt;downloadfilename=PasteDeploy-license.txt"
\ No newline at end of file
Signature · 1 line
2.25.1