diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/ndg-httpsclient |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/ndg-httpsclient')
-rw-r--r-- | dev-python/ndg-httpsclient/Manifest | 8 | ||||
-rw-r--r-- | dev-python/ndg-httpsclient/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/ndg-httpsclient/ndg-httpsclient-0.4.0.ebuild | 27 | ||||
-rw-r--r-- | dev-python/ndg-httpsclient/ndg-httpsclient-0.4.2-r1.ebuild | 63 | ||||
-rw-r--r-- | dev-python/ndg-httpsclient/ndg-httpsclient-0.4.2.ebuild | 27 |
5 files changed, 137 insertions, 0 deletions
diff --git a/dev-python/ndg-httpsclient/Manifest b/dev-python/ndg-httpsclient/Manifest new file mode 100644 index 000000000000..6c9f851aec00 --- /dev/null +++ b/dev-python/ndg-httpsclient/Manifest @@ -0,0 +1,8 @@ +DIST ndg_httpsclient-0.4.0.tar.gz 24038 SHA256 e8c155fdebd9c4bcb0810b4ed01ae1987554b1ee034dd7532d7b8fdae38a6274 SHA512 3c0225a20c25cf0f12f03005bb79e738527c0488bb660c1eb3b55c505a0ef503002d37fcffb3d013e5f91101bdd03080a68d5805d6d29b682cc01bdc9f0e4a19 WHIRLPOOL 0c9c0a2cd2e5a0d2b742910129442285e4bdf1278c2590443fa00107066f5561af4249d4f1504720e8a48342ba1d0110fe8480e0adcd41ca999384bf3dc06853 +DIST ndg_httpsclient-0.4.2.tar.gz 25062 SHA256 580987ef194334c50389e0d7de885fccf15605c13c6eecaabd8d6c43768eb8ac SHA512 c7d6f442242ce01f69d2386b8ed41e4e5f72a2523ecbe38785c4333405f1b000e298133ccc4169d9685a3dcdcf0b20567c8e4b2dfd36f42721d36c73ee27d90a WHIRLPOOL 97cc65e017fb5b96d2d4d858c30151a3956ce6b713e4c38cf9bc62c57be164c30a87672e431a2aa70222fae6fdf54a3477498360bb700fc98bbc50ece43aab84 +EBUILD ndg-httpsclient-0.4.0.ebuild 823 SHA256 85700c1144f121d9fe1ab2115f2d1f62940675111e4c64c5634f8e6f3fbd43e5 SHA512 cbeea7a47e532cc6313b7e1f61de0decfba3d32eeb102445b17090b65b1d70532ec12217734fcc4d548025017f281eceaf8576f2e2dd29d694f7f17583ca1dcb WHIRLPOOL 4a35ec4f513c0eb6953c11f4d58675e840fc0e7d0c842b77769449b464da102c9103ab616b942d990019c7a8ec45b4769eb919c2acdffe0e8fb16d7d748f3cfd +EBUILD ndg-httpsclient-0.4.2-r1.ebuild 1652 SHA256 6b6ecbe36deadc324060f5b4e376748ea050cb303c9e1949333a46be684f0ead SHA512 583d41b0868e6e25d0d7424ab6cfed2d6b6b51851d8a84e64c6871b0bbb33151aac83feedb6033cc78696c419cb516d6c4cb51040ec59ec6c045f39c3aec311e WHIRLPOOL 3d77a982de302b87e5b3ba0effbdca680c6eeef986c054ea13db5d0a039d80a182913c706289bb71ed177b2e0d82a4c7c56b50913ca6fcade0512bbc97920981 +EBUILD ndg-httpsclient-0.4.2.ebuild 848 SHA256 e2a0976b2f7560dadf396e5d67982264912f6af7d44375f407405b32e7f9dc0c SHA512 a1cdf1a1498007e50d40d17e2c2c6b4ba521250b89016c9dd6cf63fb1c76fe72480b952e228d8156a155f4dbef4ea7fa57c309f9404e9704980eb1b6cf08e993 WHIRLPOOL 4cf79def15bd5a891179efe839c20947fbc2204c5acc4aefaf21cff3002cb3b4e0b0883f5833d41204c8a11521dd5aaec94f5eab8f35b016d52969e2932db9c9 +MISC ChangeLog 6033 SHA256 a05893286648d0ea33b54157461f2453c2c966b76324c3285a1c0d2e445a0889 SHA512 9b09005a911c6ba366611960e8e3e51abd07e83410b07e07813dde1b748daf85c0e089aa875bbd437706bd8cb2c66018348b3a32ef9aee5b9da238c9ad911ec9 WHIRLPOOL 58bbe7d6a42c45292dd91c263b48f6b9a39b5dde86b55e8ff5e607b94304196a231f84150fe76dabec6cd39476a97eb072e1bc23431e709ceb9c36dfe7d0be16 +MISC ChangeLog-2015 2950 SHA256 255452dcd49627709fb368ca907879d2f9095f7bbddb9c47766886c432072274 SHA512 46670fbdcdc3101a2973d909407ba55155a0f3e46e1792be120757d030976f60013dbaf18da0c244e74fd9a51f9c41b7cf7d641a5d4a42c57353c300c82cc596 WHIRLPOOL 5b7b0eca220b5d1d4b4df4b4f02d0f9acf4c2aa95a4b94b5356ec1a74b16041d660836744049067f634a8a3aa56b8a5e9d369fc9bb2b2c70bfb5d0c43f586ed2 +MISC metadata.xml 393 SHA256 e3d2e9f5ac97a63f3edee91697f1dc6a98c36c8237d79958a9d88093e520024b SHA512 1092b2a6c3d9ed56cc6429ce9b1ffeb14f18934f2dc8dc9e34b28eb9a048304f31634fe2d7265a599afd338033605c831290b903e933e1a1634ed8fdbb1719ae WHIRLPOOL 5547a76e83811b2a1212cfe603bae7b7b26656360d340132d546e2eea0bcdd3f7a39253cca61f65eddb2b7b8d200892e80896177019886477838ea2edb8b3c1c diff --git a/dev-python/ndg-httpsclient/metadata.xml b/dev-python/ndg-httpsclient/metadata.xml new file mode 100644 index 000000000000..9946c2697cca --- /dev/null +++ b/dev-python/ndg-httpsclient/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">ndg-httpsclient</remote-id> + <remote-id type="github">cedadev/ndg_httpsclient</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/ndg-httpsclient/ndg-httpsclient-0.4.0.ebuild b/dev-python/ndg-httpsclient/ndg-httpsclient-0.4.0.ebuild new file mode 100644 index 000000000000..64649d378fad --- /dev/null +++ b/dev-python/ndg-httpsclient/ndg-httpsclient-0.4.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Provides enhanced HTTPS support for httplib and urllib2 using PyOpenSSL" +HOMEPAGE=" + https://github.com/cedadev/ndg_httpsclient/ + https://pypi.python.org/pypi/ndg-httpsclient" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P/-/_}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" +IUSE="" + +RDEPEND="dev-python/pyopenssl[$(python_gen_usedep 'python*' pypy)]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +S="${WORKDIR}/${P/-/_}" + +# doc build by Makefile in folder documentation is broken diff --git a/dev-python/ndg-httpsclient/ndg-httpsclient-0.4.2-r1.ebuild b/dev-python/ndg-httpsclient/ndg-httpsclient-0.4.2-r1.ebuild new file mode 100644 index 000000000000..d4f272ba1c67 --- /dev/null +++ b/dev-python/ndg-httpsclient/ndg-httpsclient-0.4.2-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Provides enhanced HTTPS support for httplib and urllib2 using PyOpenSSL" +HOMEPAGE=" + https://github.com/cedadev/ndg_httpsclient/ + https://pypi.python.org/pypi/ndg-httpsclient" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P/-/_}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" +IUSE="test" + +RDEPEND="dev-python/pyopenssl[$(python_gen_usedep 'python*' pypy)]" +# we need to block the previous versions since incorrect namespace +# install breaks tests +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + !!<dev-python/ndg-httpsclient-0.4.2-r1 + dev-libs/openssl:0 + )" + +S="${WORKDIR}/${P/-/_}" + +# doc build by Makefile in folder documentation is broken + +src_test() { + # we need to start a fake https server for tests to connect to + ( cd ndg/httpsclient/test && sh ./scripts/openssl_https_server.sh ) & + local server_pid=${!} + + distutils-r1_src_test + + kill "${server_pid}" + wait +} + +python_test() { + "${PYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" +} + +python_install() { + distutils-r1_python_install + + # install the namespace (this is the only package in ::gentoo + # using it; we'll split it if we add more) + python_moduleinto ndg + python_domodule ndg/__init__.py +} + +python_install_all() { + distutils-r1_python_install_all + + find "${D}" -name '*.pth' -delete || die +} diff --git a/dev-python/ndg-httpsclient/ndg-httpsclient-0.4.2.ebuild b/dev-python/ndg-httpsclient/ndg-httpsclient-0.4.2.ebuild new file mode 100644 index 000000000000..63a3b925a3f9 --- /dev/null +++ b/dev-python/ndg-httpsclient/ndg-httpsclient-0.4.2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Provides enhanced HTTPS support for httplib and urllib2 using PyOpenSSL" +HOMEPAGE=" + https://github.com/cedadev/ndg_httpsclient/ + https://pypi.python.org/pypi/ndg-httpsclient" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P/-/_}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" +IUSE="" + +RDEPEND="dev-python/pyopenssl[$(python_gen_usedep 'python*' pypy)]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +S="${WORKDIR}/${P/-/_}" + +# doc build by Makefile in folder documentation is broken |