Skip to contentSkip to conversation

python-epydoc: update to use common pypi

PATCH New Derek Straka 1 participant 6 messages Mar 23, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/6 python-epydoc: update to use common pypi

---
 meta-python/recipes-devtools/python/python-epydoc_3.0.1.bb | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
meta-python/recipes-devtools/python/python-epydoc_3.0.1.bb +1 -8
index 56880e5..c4752d3 100644
@@ -1,18 +1,11 @@
 DESCRIPTION = "Epydoc is a tool for generating API documentation for Python modules, based on their docstrings" 
-SECTION = "devel/python" 
 LICENSE = "MIT" 
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=011c0d78eb6054d731c879132d7313f0"
 HOMEPAGE = "http://epydoc.sourceforge.net/" 
-SRCNAME = "epydoc" 
-DEPENDS += "python"
-DEPENDS_class-native += "python-native"
 
-SRC_URI = "http://downloads.sourceforge.net/project/${SRCNAME}/${SRCNAME}/${PV}/${SRCNAME}-${PV}.tar.gz" 
 SRC_URI[md5sum] = "cdd6f6c76dd8bab5e653a343a0544294"
 SRC_URI[sha256sum] = "d4e5c8d90937d01b05170f592c1fa9b29e9ed0498dfe7f0eb2a3af61725b6ad1"
 
-S = "${WORKDIR}/${SRCNAME}-${PV}" 
-
-inherit distutils 
+inherit pypi distutils 
 
 BBCLASSEXTEND = "native"
Signature · 1 line
1.9.1
#1 lore raw

PATCH 2/6 python-idna: update to release 2.1 and use common pypi

---
 .../recipes-devtools/python/python-idna_2.1.bb     | 11 +++++++++++
 .../recipes-devtools/python/python-idna_git.bb     | 22 ----------------------
 2 files changed, 11 insertions(+), 22 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-idna_2.1.bb
 delete mode 100644 meta-python/recipes-devtools/python/python-idna_git.bb
meta-python/recipes-devtools/python/python-idna_2.1.bb new file +11 -0
new file mode 100644
index 0000000..90f47ae
@@ -0,0 +1,11 @@
+SUMMARY = "Internationalised Domain Names in Applications"
+HOMEPAGE = "https://github.com/kjd/idna"
+LICENSE = "BSD-3-Clause & Python-2.0 & Unicode"
+LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=134bdad79491c37bdae32811572b4bc6"
+
+DEPENDS += "python-pip"
+
+SRC_URI[md5sum] = "f6473caa9c5e0cc1ad3fd5d04c3c114b"
+SRC_URI[sha256sum] = "ed36f281aebf3cd0797f163bb165d84c31507cedd15928b095b1675e2d04c676"
+
+inherit pypi setuptools
meta-python/recipes-devtools/python/python-idna_git.bb deleted +0 -22
deleted file mode 100644
index dcd9105..0000000
@@ -1,22 +0,0 @@
-SUMMARY = "Internationalised Domain Names in Applications"
-HOMEPAGE = "https://github.com/kjd/idna"
-SECTION = "devel/python"
-LICENSE = "BSD-3-Clause & Python-2.0 & Unicode"
-LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=c61e6ec7ab3da6b340d8d3a89c964ef2"
-
-PV = "2.0"
-SRCREV = "bb6e94c5b5525684d8ca010bf8ab42480c319e0a"
-
-SRCNAME = "idna"
-SRC_URI = "git://github.com/kjd/${SRCNAME}.git"
-
-S = "${WORKDIR}/git"
-
-inherit setuptools
-
-DEPENDS += " \
-        python-pip \
-        "
-
-RDEPENDS_${PN} += " \
-        "
Signature · 1 line
1.9.1
#2 lore raw

PATCH 3/6 python-tornado: fix the paths for the test package

In reply to Derek Straka
---
 meta-python/recipes-devtools/python/python-tornado.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-python/recipes-devtools/python/python-tornado.inc +2 -2
index 679b7ba..7e3ac8c 100644
@@ -19,6 +19,6 @@ PACKAGES =+ "\
 "
 
 FILES_${PN}-test = " \
-    ${libdir}/${PYTHON_DIR}/site-packages/${SRCNAME}/test \
-    ${libdir}/${PYTHON_DIR}/site-packages/${SRCNAME}/testing.py* \
+    ${libdir}/${PYTHON_DIR}/site-packages/*/test \
+    ${libdir}/${PYTHON_DIR}/site-packages/*/testing.py* \
 "
Signature · 1 line
1.9.1
#3 lore raw

PATCH 4/6 python-tornado-redis: update the recipe to use the common pypi

In reply to Derek Straka
---
 .../recipes-devtools/python/python-tornado-redis_2.4.18.bb       | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
meta-python/recipes-devtools/python/python-tornado-redis_2.4.18.bb +1 -8
index daec25e..46a20a5 100644
@@ -8,18 +8,11 @@ HOMEPAGE = "https://github.com/leporo/tornado-redis"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=ca307e8f37b5fa7f8dbbec033f7db7de"
 
-SRCNAME = "tornado-redis"
-
-SRC_URI = " \
-    https://pypi.python.org/packages/source/t/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \
-"
 SRC_URI[md5sum] = "1c7ec0f645d15400871141c1149e6934"
 SRC_URI[sha256sum] = "8fd3b324158291ad5fb7f5f8dc2e8763b2895556bd2a44f2dd721b703c669046"
 
-inherit setuptools
+inherit pypi setuptools
 
 RDEPENDS_${PN} += "python-tornado"
 
 RDEPENDS_${PN}-test += "${PN} python-tornado"
-
-S = "${WORKDIR}/${SRCNAME}-${PV}"
Signature · 1 line
1.9.1
#4 lore raw

PATCH 5/6 python-ipaddress: update to 1.0.16 and use the common pypi

In reply to Derek Straka
---
 .../python/python-ipaddress_1.0.16.bb              | 11 +++++++++++
 .../python/python-ipaddress_git.bb                 | 22 ----------------------
 2 files changed, 11 insertions(+), 22 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-ipaddress_1.0.16.bb
 delete mode 100644 meta-python/recipes-devtools/python/python-ipaddress_git.bb
meta-python/recipes-devtools/python/python-ipaddress_1.0.16.bb new file +11 -0
new file mode 100644
index 0000000..1e97ef7
@@ -0,0 +1,11 @@
+SUMMARY = "Python 3.3+'s ipaddress for Python 2.6, 2.7, 3.2."
+HOMEPAGE = "https://github.com/phihag/ipaddress"
+LICENSE = "Python-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=7f538584cc3407bf76042def7168548a"
+
+DEPENDS += "python-pip"
+
+SRC_URI[md5sum] = "1e27b62aa20f5b6fc200b2bdbf0d0847"
+SRC_URI[sha256sum] = "5a3182b322a706525c46282ca6f064d27a02cffbd449f9f47416f1dc96aa71b0"
+
+inherit pypi setuptools
meta-python/recipes-devtools/python/python-ipaddress_git.bb deleted +0 -22
deleted file mode 100644
index 6b7148f..0000000
@@ -1,22 +0,0 @@
-SUMMARY = "Python 3.3+'s ipaddress for Python 2.6, 2.7, 3.2."
-HOMEPAGE = "https://github.com/phihag/ipaddress"
-SECTION = "devel/python"
-LICENSE = "Python-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=7f538584cc3407bf76042def7168548a"
-
-PV = "1.0.15"
-SRCREV = "95adb9f374a1cca5efda08d20d9fc58d955d4a42"
-
-SRCNAME = "ipaddress"
-SRC_URI = "git://github.com/phihag/${SRCNAME}.git"
-
-S = "${WORKDIR}/git"
-
-inherit setuptools
-
-DEPENDS += " \
-        python-pip \
-        "
-
-RDEPENDS_${PN} += " \
-        "
Signature · 1 line
1.9.1
#5 lore raw

PATCH 6/6 python-pyusb: update to 1.0.0b2 and use the common pypi

In reply to Derek Straka
---
 .../recipes-devtools/python/python-pyusb_1.0.0a2.bb    | 18 ------------------
 .../recipes-devtools/python/python-pyusb_1.0.0b2.bb    | 10 ++++++++++
 2 files changed, 10 insertions(+), 18 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python-pyusb_1.0.0a2.bb
 create mode 100644 meta-python/recipes-devtools/python/python-pyusb_1.0.0b2.bb
meta-python/recipes-devtools/python/python-pyusb_1.0.0a2.bb deleted +0 -18
deleted file mode 100644
index 360f213..0000000
@@ -1,18 +0,0 @@
-SUMMARY = "PyUSB provides USB access on the Python language"
-HOMEPAGE = "http://pyusb.sourceforge.net/"
-SECTION = "devel/python"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=a53a9c39efcfb812e2464af14afab013"
-DEPENDS = "libusb1"
-PR = "r1"
-
-SRC_URI = "\
-    ${SOURCEFORGE_MIRROR}/pyusb/${SRCNAME}-${PV}.tar.gz \
-"
-SRC_URI[md5sum] = "9136b3dc019272c62a5b6d4eb624f89f"
-SRC_URI[sha256sum] = "dacbf7d568c0bb09a974d56da66d165351f1ba3c4d5169ab5b734266623e1736"
-
-SRCNAME = "pyusb"
-S = "${WORKDIR}/${SRCNAME}-${PV}"
-
-inherit distutils
meta-python/recipes-devtools/python/python-pyusb_1.0.0b2.bb new file +10 -0
new file mode 100644
index 0000000..d279abc
@@ -0,0 +1,10 @@
+SUMMARY = "PyUSB provides USB access on the Python language"
+HOMEPAGE = "http://pyusb.sourceforge.net/"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=50d46bda6248a0b4a46a6d59a66ee08e"
+DEPENDS = "libusb1"
+
+SRC_URI[md5sum] = "bc12e83ff3ef1045d4306d13a9955fc1"
+SRC_URI[sha256sum] = "14ec66077bdcd6f1aa9e892a0a35a54bb3c1ec56aa740ead64349c18f0186d19"
+
+inherit pypi distutils
Signature · 1 line
1.9.1