summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Stahl2016-03-06 19:31:43 +0100
committerChristoph Stahl2016-03-06 19:31:43 +0100
commit74d88284abf6f341416891e3d7bf5eea25c8e632 (patch)
treea2b58a54e7105d9082dd1a979e1cd2fddf4b09a7
downloadaur-74d88284abf6f341416891e3d7bf5eea25c8e632.tar.gz
initial commit
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD33
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ce2ea33e911
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = python-pysmartdl
+ pkgdesc = A Smart Download Manager for Python
+ pkgver = 1.2.4
+ pkgrel = 1
+ url = https://github.com/iTaybb/pySmartDL/
+ arch = any
+ license = Public Domain
+ makedepends = python2-setuptools
+ makedepends = python-setuptools
+ source = https://pypi.python.org/packages/source/p/pySmartDL/pySmartDL-1.2.4.tar.gz
+ md5sums = 4935dab07663b2f78ead0544af11bf2b
+
+pkgname = python2-pysmartdl
+ depends = python2-futures
+
+pkgname = python-pysmartdl
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9b680c5ca79
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Current Packager: Christoph Stahl <christoph.stahl@uni-dortmund.de>
+
+_pipname=pySmartDL
+pkgbase=python-pysmartdl
+pkgname=('python2-pysmartdl' 'python-pysmartdl')
+pkgver=1.2.4
+pkgrel=1
+pkgdesc="A Smart Download Manager for Python"
+arch=('any')
+url="https://github.com/iTaybb/pySmartDL/"
+license=('Public Domain')
+makedepends=('python2-setuptools' 'python-setuptools')
+source=("https://pypi.python.org/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz")
+md5sums=('4935dab07663b2f78ead0544af11bf2b')
+
+
+prepare() {
+ cp -R $_pipname-$pkgver python2-$_pipname-$pkgver
+}
+
+package_python2-pysmartdl() {
+depends=('python2-futures')
+
+ cd python2-$_pipname-$pkgver
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}
+
+package_python-pysmartdl() {
+
+ cd $_pipname-$pkgver
+ python setup.py install --root="$pkgdir/" --optimize=1
+}
+