Skip to contentSkip to conversation

python3-pastedeploy: Add recipe

PATCH Superseded [email protected] 2 participants 4 messages Mar 16, 2021

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-pastedeploy: Add recipe

From: Devon Pringle <[email protected]>

---
 .../python/python3-pastedeploy_2.0.1.bb       | 26 +++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pastedeploy_2.0.1.bb
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
#1 lore raw

Thanks Devon

Could you also add it to packagegroup-meta-python.bb as well ?

Quoted 45 lines · Devon Pringle via lists.openembedded.org

From: Devon Pringle <[email protected]>

---
  .../python/python3-pastedeploy_2.0.1.bb       | 26 +++++++++++++++++++
  1 file changed, 26 insertions(+)

create mode 100644 meta-python/recipes-devtools/python/python3-pastedeploy_2.0.1.bb

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
#2 lore raw

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
#3 lore raw

Thanks for follow-up, It would be good if you added Singed-off-by lines as well as described in patch guidelines see https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines

Quoted 58 lines · Devon Pringle via lists.openembedded.org

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