[arch-commits] Commit in python2-backports.ssl_match_hostname/repos/community-any (2 files)
Felix Yan
fyan at archlinux.org
Fri Apr 22 03:51:55 UTC 2016
Date: Friday, April 22, 2016 @ 05:51:55
Author: fyan
Revision: 171559
archrelease: copy trunk to community-any
Added:
python2-backports.ssl_match_hostname/repos/community-any/PKGBUILD
(from rev 171558, python2-backports.ssl_match_hostname/trunk/PKGBUILD)
Deleted:
python2-backports.ssl_match_hostname/repos/community-any/PKGBUILD
----------+
PKGBUILD | 45 +++++++++++++++++++++++++--------------------
1 file changed, 25 insertions(+), 20 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-04-22 03:51:34 UTC (rev 171558)
+++ PKGBUILD 2016-04-22 03:51:55 UTC (rev 171559)
@@ -1,20 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Crass00 <crass00 @ hotmail . com>
-
-pkgname=python2-backports.ssl_match_hostname
-pkgver=3.5.0.1
-pkgrel=1
-pkgdesc="The ssl.match_hostname() function from Python 3.5"
-arch=('any')
-url="https://pypi.python.org/pypi/backports.ssl_match_hostname"
-license=('PSF')
-depends=('python2')
-optdepends=('python2-ipaddress: for IPAddress ServerAltnames support')
-source=("https://pypi.python.org/packages/source/b/backports.ssl_match_hostname/backports.ssl_match_hostname-$pkgver.tar.gz")
-sha256sums=('502ad98707319f4a51fa2ca1c677bd659008d27ded9f6380c79e8932e38dcdf2')
-
-package() {
- cd backports.ssl_match_hostname-$pkgver
- python2 setup.py install --root="$pkgdir" --optimize=1
-}
Copied: python2-backports.ssl_match_hostname/repos/community-any/PKGBUILD (from rev 171558, python2-backports.ssl_match_hostname/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-04-22 03:51:55 UTC (rev 171559)
@@ -0,0 +1,25 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Crass00 <crass00 @ hotmail . com>
+
+pkgname=python2-backports.ssl_match_hostname
+pkgver=3.5.0.1
+pkgrel=2
+pkgdesc="The ssl.match_hostname() function from Python 3.5"
+arch=('any')
+url="https://pypi.python.org/pypi/backports.ssl_match_hostname"
+license=('PSF')
+depends=('python2-backports')
+optdepends=('python2-ipaddress: for IPAddress ServerAltnames support')
+source=("https://pypi.python.org/packages/source/b/backports.ssl_match_hostname/backports.ssl_match_hostname-$pkgver.tar.gz")
+sha256sums=('502ad98707319f4a51fa2ca1c677bd659008d27ded9f6380c79e8932e38dcdf2')
+
+prepare() {
+ # In python2-backports
+ rm backports.ssl_match_hostname-$pkgver/backports/__init__.py
+}
+
+package() {
+ cd backports.ssl_match_hostname-$pkgver
+ python2 setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list