From a6249e090143fcf10d1927d76105cfc44d5b24ee Mon Sep 17 00:00:00 2001 From: Peter Bui Date: Mon, 20 Jul 2015 11:27:28 -0500 Subject: main/py-backports.ssl_match_hostname: move from testing --- testing/py-backports.ssl_match_hostname/APKBUILD | 41 ------------------------ 1 file changed, 41 deletions(-) delete mode 100644 testing/py-backports.ssl_match_hostname/APKBUILD (limited to 'testing/py-backports.ssl_match_hostname') 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 -# 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" -- cgit v1.2.3