diff options
4 files changed, 64 insertions, 0 deletions
diff --git a/dev-python/backports-ssl-match-hostname/ChangeLog b/dev-python/backports-ssl-match-hostname/ChangeLog new file mode 100644 index 000000000000..3b7f3230f1a2 --- /dev/null +++ b/dev-python/backports-ssl-match-hostname/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-python/backports-ssl-match-hostname +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/backports-ssl-match-hostname/ChangeLog,v 1.1 2014/01/26 13:08:49 radhermit Exp $ + +*backports-ssl-match-hostname-3.4.0.2 (26 Jan 2014) + + 26 Jan 2014; Tim Harder <radhermit@gentoo.org> + +backports-ssl-match-hostname-3.4.0.2.ebuild, +metadata.xml: + Initial import, ebuild by me. + diff --git a/dev-python/backports-ssl-match-hostname/Manifest b/dev-python/backports-ssl-match-hostname/Manifest new file mode 100644 index 000000000000..6e8e7f4cb033 --- /dev/null +++ b/dev-python/backports-ssl-match-hostname/Manifest @@ -0,0 +1,4 @@ +DIST backports.ssl_match_hostname-3.4.0.2.tar.gz 5151 SHA256 07410e7fb09aab7bdaf5e618de66c3dac84e2e3d628352814dc4c37de321d6ae SHA512 7e6033afbb5298a5eaafe91c3e2f7ba583706977826cc9441c9926a81b945714be95963f0261f88f4cb5df56673ca231e528cecbe84dff9e422fd11819842985 WHIRLPOOL 781bc5e791bb78f3345d607e764a718ba96ef9d02bace67fea502c52b438b34f561efa733eaa4ff8b4a7152fdcd086f9ba014b4f3628a590f6d4cec46f08bee7 +EBUILD backports-ssl-match-hostname-3.4.0.2.ebuild 1008 SHA256 e99cd54a593a995ff0f57072325131d1a5b67082b0a8ff4339e93c603b6ab226 SHA512 a722d6db0661038b21f4c62cbc50a4b3a67c103cad06499231d471be8820081135d068a8653e089b5c30ab930b13cd88e6804f729d4ff27f475ac2b514b49615 WHIRLPOOL 9123e620c8740996c968f19fa65778654c608c9151f9d2586f956f9013090903cd51f1326158307200631f4a1068a9c30ccb58008578506195827f6ad3ba60e3 +MISC ChangeLog 338 SHA256 301f86ad3db5d5cf28d335bbbf85998d7c07b36255a90927074a4e99b2f81318 SHA512 f2e65aa130c73a05802231cab80df17a7b90c1a289446fbc314e0176ac301c5b9dcd676e8ce3a06013b10bf4d27ee1dd8c0e9265bee3885725a45d3586fc066a WHIRLPOOL 7b6ae5d7ec92be9d8aa032901bf0265e98478b28b3d4ade7d5173d0af452fe16e0523d1a43c41def9765c7b9c19f0d48824c3debd0fe49a7ed89c17e7f6946fc +MISC metadata.xml 251 SHA256 ad20e35fa7c8f5e94df03bcb6b3caa8d001fdba5406f8cfa901e6c266705bd10 SHA512 d6c8d1df51f4a225668d88899561d5f8966f22c283ce3efef5bddbc379f553e244a17454449af2112744a0d9f2c99749073021087da423be6f0c5bdab2d4652f WHIRLPOOL fcee528953dd26d70966986e2593e92608e97876bed62fa8982f321e9df8b83ba4af07e2c1f86b8d463d4604f4939cc3cd9b77726f0ef3998acbcb3e17a026e2 diff --git a/dev-python/backports-ssl-match-hostname/backports-ssl-match-hostname-3.4.0.2.ebuild b/dev-python/backports-ssl-match-hostname/backports-ssl-match-hostname-3.4.0.2.ebuild new file mode 100644 index 000000000000..0c7d30ac6228 --- /dev/null +++ b/dev-python/backports-ssl-match-hostname/backports-ssl-match-hostname-3.4.0.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/backports-ssl-match-hostname/backports-ssl-match-hostname-3.4.0.2.ebuild,v 1.1 2014/01/26 13:08:49 radhermit Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_6,2_7} ) + +inherit distutils-r1 + +MY_PN=${PN/-/.} +MY_PN=${MY_PN//-/_} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Backport of the ssl.match_hostname function" +HOMEPAGE="https://pypi.python.org/pypi/backports.ssl_match_hostname/" +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="PYTHON" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="dev-python/backports[${PYTHON_USEDEP}]" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + # prevent unnecessary docs from being installed in site-packages + mv src/backports/ssl_match_hostname/{LICENSE,README}.txt "${S}" || die +} + +python_install_all() { + local DOCS=( README.txt ) + distutils-r1_python_install_all +} + +python_install() { + distutils-r1_python_install + + # main namespace provided by dev-python/backports + rm "${ED}$(python_get_sitedir)"/backports/__init__.py* || die +} diff --git a/dev-python/backports-ssl-match-hostname/metadata.xml b/dev-python/backports-ssl-match-hostname/metadata.xml new file mode 100644 index 000000000000..a814551856cd --- /dev/null +++ b/dev-python/backports-ssl-match-hostname/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <upstream> + <remote-id type="pypi">backports.ssl_match_hostname</remote-id> + </upstream> +</pkgmetadata> |