summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Yan2015-07-23 20:21:37 +0800
committerFelix Yan2015-07-23 20:21:37 +0800
commit6c50d6bf5062f7dbe5b5d411d72419d58bd8d8b1 (patch)
tree41b379097e56138af63d59704eafa63153f73d53
downloadaur-6c50d6bf5062f7dbe5b5d411d72419d58bd8d8b1.tar.gz
Initial import
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD19
2 files changed, 34 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..aa3323ce79f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = python2-evergreen
+ pkgdesc = Cooperative i/o and multitasking for Python
+ pkgver = 0.2.0
+ pkgrel = 1
+ url = https://github.com/saghul/evergreen
+ arch = any
+ license = custom:MIT
+ depends = python2
+ depends = python2-pyuv
+ depends = python2-greenlet
+ source = https://github.com/saghul/evergreen/archive/release-0.2.0.tar.gz
+ md5sums = 850b072c0465dfd383e9ef65bfae93d8
+
+pkgname = python2-evergreen
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..450175bdf84
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,19 @@
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+
+pkgname=python2-evergreen
+pkgver=0.2.0
+pkgrel=1
+pkgdesc="Cooperative i/o and multitasking for Python"
+arch=('any')
+url="https://github.com/saghul/evergreen"
+license=("custom:MIT")
+depends=('python2' 'python2-pyuv' 'python2-greenlet')
+source=("https://github.com/saghul/evergreen/archive/release-$pkgver.tar.gz")
+
+package() {
+ cd "$srcdir/evergreen-release-$pkgver"
+ python2 setup.py install -O1 --root=$pkgdir
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+md5sums=('850b072c0465dfd383e9ef65bfae93d8')