diff options
author | Peter Bui <pnutzh4x0r@gmail.com> | 2015-07-20 11:27:28 -0500 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-07-21 06:10:50 +0000 |
commit | a6249e090143fcf10d1927d76105cfc44d5b24ee (patch) | |
tree | 3bd32724a79d397b5cfd52b470f169646c378601 /testing/py-backports.ssl_match_hostname | |
parent | a8baa502663d34bb8738085a879f8f3c71a68779 (diff) | |
download | aports-a6249e090143fcf10d1927d76105cfc44d5b24ee.tar.bz2 aports-a6249e090143fcf10d1927d76105cfc44d5b24ee.tar.xz |
main/py-backports.ssl_match_hostname: move from testing
Diffstat (limited to 'testing/py-backports.ssl_match_hostname')
-rw-r--r-- | testing/py-backports.ssl_match_hostname/APKBUILD | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/testing/py-backports.ssl_match_hostname/APKBUILD b/testing/py-backports.ssl_match_hostname/APKBUILD deleted file mode 100644 index de504dae21..0000000000 --- a/testing/py-backports.ssl_match_hostname/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Contributor: Peter Bui <pnutzh4x0r@gmail.com> -# Maintainer: -pkgname=py-backports.ssl_match_hostname -_pkgname=backports.ssl_match_hostname -pkgver=3.4.0.2 -pkgrel=0 -pkgdesc="The ssl.match_hostname() function from Python 3.4" -url="https://bitbucket.org/brandon/backports.ssl_match_hostname" -arch="noarch" -license="PSF" -depends="python" -depends_dev="py-setuptools" -makedepends="$depends_dev" -install="" -subpackages="" -source="https://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-${pkgver}.tar.gz" - -_builddir="$srcdir"/$_pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - python setup.py build || return 1 -} - -package() { - cd "$_builddir" - python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 || return 1 -} - -md5sums="788214f20214c64631f0859dc79f23c6 backports.ssl_match_hostname-3.4.0.2.tar.gz" -sha256sums="07410e7fb09aab7bdaf5e618de66c3dac84e2e3d628352814dc4c37de321d6ae backports.ssl_match_hostname-3.4.0.2.tar.gz" -sha512sums="7e6033afbb5298a5eaafe91c3e2f7ba583706977826cc9441c9926a81b945714be95963f0261f88f4cb5df56673ca231e528cecbe84dff9e422fd11819842985 backports.ssl_match_hostname-3.4.0.2.tar.gz" |