summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre-Gildas MILLON2017-10-17 16:22:24 +0200
committerPierre-Gildas MILLON2017-10-17 16:22:24 +0200
commitce171beac3b0312bef9668a350b408b64faa0885 (patch)
tree6297b8a5b9656728fd57d45b0235ae929bb54c9b
downloadaur-ce171beac3b0312bef9668a350b408b64faa0885.tar.gz
Initial import
-rw-r--r--.SRCINFO16
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD23
3 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..84347b2b693
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+# Generated by mksrcinfo v8
+# Tue Oct 17 14:20:53 UTC 2017
+pkgbase = python2-pypac
+ pkgdesc = Proxy auto-config and auto-discovery for Python
+ pkgver = 0.3.1
+ pkgrel = 1
+ url = https://pypi.python.org/pypi/pypac/
+ arch = any
+ license = Apache 2.0
+ makedepends = python2-setuptools
+ depends = python2
+ source = https://github.com/carsonyl/pypac/archive/v0.3.1.tar.gz
+ md5sums = 3221632b0b434c10162f281a849ba861
+
+pkgname = python2-pypac
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..e8141401e92
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+pkg
+src
+*.xz
+v*.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8784290cc3a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Pierre-Gildas MILLON <pgmillon@gmail.com>
+
+pkgname=python2-pypac
+pkgver=0.3.1
+pkgrel=1
+pkgdesc="Proxy auto-config and auto-discovery for Python"
+arch=('any')
+url="https://pypi.python.org/pypi/pypac/"
+license=('Apache 2.0')
+depends=('python2')
+makedepends=('python2-setuptools')
+source=("https://github.com/carsonyl/pypac/archive/v$pkgver.tar.gz")
+md5sums=('3221632b0b434c10162f281a849ba861')
+
+build() {
+ cd "${srcdir}/pypac-${pkgver}"
+ python setup.py bdist_wheel
+}
+
+package() {
+ cd "${srcdir}/pypac-${pkgver}"
+ python2 setup.py install --root="${pkgdir}/" --optimize=1
+}