[arch-commits] Commit in python2-netlib/repos (2 files)

Felix Yan fyan at archlinux.org
Thu Jun 4 10:15:53 UTC 2015


    Date: Thursday, June 4, 2015 @ 12:15:53
  Author: fyan
Revision: 134755

archrelease: copy trunk to community-testing-x86_64

Added:
  python2-netlib/repos/community-testing-x86_64/
  python2-netlib/repos/community-testing-x86_64/PKGBUILD
    (from rev 134754, python2-netlib/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: python2-netlib/repos/community-testing-x86_64/PKGBUILD (from rev 134754, python2-netlib/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2015-06-04 10:15:53 UTC (rev 134755)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Nicolas Pouillard https://nicolaspouillard.fr
+
+pkgname=python2-netlib
+pkgver=0.12.1
+pkgrel=1
+pkgdesc="A collection of network utilities used by pathod and mitmproxy"
+url="https://github.com/mitmproxy/netlib"
+license=('MIT')
+arch=('i686' 'x86_64')
+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=('090ccaa44f4369f0aa98a831e021277bcd45fdf7d7f00af282073cc7343ce79b')
+
+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"
+}



More information about the arch-commits mailing list