python3-pastedeploy: Add recipe

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.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Devon Pringle 2021-03-16 15:27:17 +10:00 committed by Khem Raj
parent 4f06104d01
commit a07f3d4591
2 changed files with 22 additions and 0 deletions

View File

@ -251,6 +251,7 @@ RDEPENDS_packagegroup-meta-python3 = "\
python3-parse-type \
python3-parso \
python3-passlib \
python3-pastedeploy \
python3-pathtools3 \
python3-pep8 \
python3-periphery \

View File

@ -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"