summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiachen Yang2015-08-10 19:06:35 +0900
committerJiachen Yang2015-08-10 19:06:35 +0900
commit12fdd7d8842b74e868dbb482b79ca3c854705808 (patch)
treeae9b759f23be75b2169edc0880b6b56fa30fa082
downloadaur-12fdd7d8842b74e868dbb482b79ca3c854705808.tar.gz
takeover python-rpweibo
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD19
2 files changed, 33 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..995689050c0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = python-rpweibo
+ pkgdesc = A Weibo API wrapper based on cURL + Python.
+ pkgver = 0.02.2
+ pkgrel = 1
+ url = https://github.com/WeCase/rpweibo
+ arch = any
+ license = LGPL3
+ depends = python
+ depends = python-pycurl
+ source = rpweibo-0.02.2.tar.gz::https://github.com/WeCase/rpweibo/archive/0.02.2.tar.gz
+ md5sums = f836fb884b624b4462d0a39c449ad181
+
+pkgname = python-rpweibo
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..42a8bb2d075
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,19 @@
+# Maintainer: farseerfc <farseerfc@archlinuxcn.org>
+# Contributor: Tom Li <biergaizi@member.fsf.org>
+
+pkgname=python-rpweibo
+pkgver=0.02.2
+_pkgver=0.02.2
+pkgrel=1
+pkgdesc="A Weibo API wrapper based on cURL + Python."
+arch=('any')
+url="https://github.com/WeCase/rpweibo"
+license=('LGPL3')
+depends=('python' 'python-pycurl')
+source=("rpweibo-${_pkgver}.tar.gz::https://github.com/WeCase/rpweibo/archive/${_pkgver}.tar.gz")
+md5sums=('f836fb884b624b4462d0a39c449ad181')
+
+package() {
+ cd "$srcdir/rpweibo-${_pkgver}"
+ python setup.py install --root="$pkgdir/" --optimize=1
+}