[arch-commits] Commit in python2-netlib/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan fyan at archlinux.org
Thu Jul 23 10:00:47 UTC 2015


    Date: Thursday, July 23, 2015 @ 12:00:46
  Author: fyan
Revision: 137309

archrelease: copy trunk to community-any

Added:
  python2-netlib/repos/community-any/PKGBUILD
    (from rev 137308, python2-netlib/trunk/PKGBUILD)
Deleted:
  python2-netlib/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   90 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 45 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-07-23 10:00:35 UTC (rev 137308)
+++ PKGBUILD	2015-07-23 10:00:46 UTC (rev 137309)
@@ -1,45 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Nicolas Pouillard https://nicolaspouillard.fr
-
-pkgname=python2-netlib
-pkgver=0.13
-pkgrel=1
-pkgdesc="A collection of network utilities used by pathod and mitmproxy"
-url="https://github.com/mitmproxy/netlib"
-license=('MIT')
-arch=('any')
-depends=('python2-passlib' 'python2-pyasn1' 'python2-pyopenssl' 'python2-hpack')
-makedepends=('python2-setuptools')
-checkdepends=('python2-nose' 'python2-mock' 'pathod')
-source=("http://pypi.python.org/packages/source/n/netlib/netlib-$pkgver.tar.gz")
-sha256sums=('4360493c145b391d87b125c5ca335943879309e1cea660f5d9f02b41511fa942')
-
-prepare() {
-  cd netlib-$pkgver
-
-  # Use system certificate store
-  sed -e '/"certifi"/d' -i setup.py
-  sed -e '/import certifi/d' \
-      -e 's|certifi.where()|"/etc/ssl/certs/ca-certificates.crt"|' \
-      -i netlib/tcp.py
-}  
-
-build() {
-  cd "$srcdir/netlib-$pkgver"
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir/netlib-$pkgver"
-  nosetests2
-}
-
-package() {
-  cd "$srcdir/netlib-$pkgver"
-  python2 setup.py install -O1 --skip-build --root="$pkgdir"
-
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
-  mv "$pkgdir/usr/lib/python2.7/site-packages/"{test,netlib/}
-}

Copied: python2-netlib/repos/community-any/PKGBUILD (from rev 137308, python2-netlib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-07-23 10:00:46 UTC (rev 137309)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Nicolas Pouillard https://nicolaspouillard.fr
+
+pkgname=python2-netlib
+pkgver=0.13.1
+pkgrel=1
+pkgdesc="A collection of network utilities used by pathod and mitmproxy"
+url="https://github.com/mitmproxy/netlib"
+license=('MIT')
+arch=('any')
+depends=('python2-passlib' 'python2-pyasn1' 'python2-pyopenssl' 'python2-hpack')
+makedepends=('python2-setuptools')
+checkdepends=('python2-nose' 'python2-mock' 'pathod')
+source=("http://pypi.python.org/packages/source/n/netlib/netlib-$pkgver.tar.gz")
+sha256sums=('f2b986ed2fa0125a88975d3f904a111c95b2925c3f553f7b1fc991f25bf4915b')
+
+prepare() {
+  cd netlib-$pkgver
+
+  # Use system certificate store
+  sed -e '/"certifi"/d' -i setup.py
+  sed -e '/import certifi/d' \
+      -e 's|certifi.where()|"/etc/ssl/certs/ca-certificates.crt"|' \
+      -i netlib/tcp.py
+}  
+
+build() {
+  cd "$srcdir/netlib-$pkgver"
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir/netlib-$pkgver"
+  nosetests2
+}
+
+package() {
+  cd "$srcdir/netlib-$pkgver"
+  python2 setup.py install -O1 --skip-build --root="$pkgdir"
+
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  mv "$pkgdir/usr/lib/python2.7/site-packages/"{test,netlib/}
+}



More information about the arch-commits mailing list