summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Yim2019-04-25 15:21:43 +0800
committerNicholas Yim2019-04-25 15:21:43 +0800
commit7e349cd3fdb96e166a075742bbaa123e77b79649 (patch)
tree0127902d30c84220531b5b479ce8505e701bf9e5
downloadaur-7e349cd3fdb96e166a075742bbaa123e77b79649.tar.gz
init aliyun-python-sdk-core-2.13.4
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD28
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e3769b803f0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = python-aliyun-python-sdk-core
+ pkgdesc = Alibaba Cloud SDK for Python
+ pkgver = 2.13.4
+ pkgrel = 1
+ url = https://github.com/aliyun/aliyun-openapi-python-sdk
+ arch = any
+ license = Apache License 2.0
+ makedepends = python-setuptools
+ options = !emptydirs
+ source = https://files.pythonhosted.org/packages/b5/02/b9237a788248b80925832b17a0839d7a46edb7ec7c9c88128191581ea50f/aliyun-python-sdk-core-2.13.4.tar.gz
+ sha256sums = 3df9dcab300312212c7bd603c463c6472d17bb7e272a0a2d276dc2676c8ee1c3
+
+pkgname = python-aliyun-python-sdk-core
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7574b498242
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Nicholas Yam <nickyim05@gmail.com>
+
+pkgname=python-aliyun-python-sdk-core
+pkgver=2.13.4
+pkgrel=1
+pkgdesc="Alibaba Cloud SDK for Python"
+arch=('any')
+#depends=('python-flask')
+makedepends=('python-setuptools')
+url="https://github.com/aliyun/aliyun-openapi-python-sdk"
+license=('Apache License 2.0')
+options=(!emptydirs)
+source=(https://files.pythonhosted.org/packages/b5/02/b9237a788248b80925832b17a0839d7a46edb7ec7c9c88128191581ea50f/aliyun-python-sdk-core-2.13.4.tar.gz)
+sha256sums=('3df9dcab300312212c7bd603c463c6472d17bb7e272a0a2d276dc2676c8ee1c3')
+
+build() {
+ cd "$srcdir/aliyun-python-sdk-core-$pkgver"
+
+ msg2 'Building...'
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir/aliyun-python-sdk-core-$pkgver"
+
+ msg2 'Installing...'
+ python setup.py install --root="$pkgdir" --optimize=1
+}