summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoryjun1232020-07-29 18:44:03 +0800
committeryjun1232020-07-29 18:44:03 +0800
commit5f5c52102f9b7fbb6fe72bc0401aaf4740d12cd0 (patch)
tree0f42e0fd7deb906a1522337828096edc5fe3d4c7
downloadaur-5f5c52102f9b7fbb6fe72bc0401aaf4740d12cd0.tar.gz
initial commit
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD29
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4a5cdf70c5e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = python-aliyun-python-sdk-kms
+ pkgdesc = Alibaba Cloud SDK for Python.
+ pkgver = 2.11.0
+ pkgrel = 1
+ url = https://github.com/aliyun/aliyun-openapi-python-sdk/
+ arch = any
+ license = Apache
+ makedepends = python-setuptools
+ depends = python-aliyun-python-sdk-core
+ provides = python-aliyun-python-sdk-kms-git
+ conflicts = python-aliyun-python-sdk-kms-git
+ source = https://files.pythonhosted.org/packages/e0/90/53403e07470ae560b0a69bf3c0ada9cc4c7a86c8bc0ac593b95839f5602a/aliyun-python-sdk-kms-2.11.0.tar.gz
+ sha256sums = 6fad3918ae4a45c93e47bea897e9933dc154dc6224a708dcb686a6a9e82f93d2
+
+pkgname = python-aliyun-python-sdk-kms
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..bac6ffdcc39
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: yjun <jerrysteve1101 at gmail dot com>
+
+pkgname=python-aliyun-python-sdk-kms
+_pkgname=${pkgname/python-}
+pkgver=2.11.0
+pkgrel=1
+pkgdesc="Alibaba Cloud SDK for Python."
+arch=('any')
+url="https://github.com/aliyun/aliyun-openapi-python-sdk/"
+license=('Apache')
+depends=('python-aliyun-python-sdk-core')
+makedepends=('python-setuptools')
+conflicts=("${pkgname}-git")
+provides=("${pkgname}-git")
+source=("https://files.pythonhosted.org/packages/e0/90/53403e07470ae560b0a69bf3c0ada9cc4c7a86c8bc0ac593b95839f5602a/${_pkgname}-${pkgver}.tar.gz")
+sha256sums=('6fad3918ae4a45c93e47bea897e9933dc154dc6224a708dcb686a6a9e82f93d2')
+
+build() {
+ cd $_pkgname-$pkgver
+
+ python setup.py build
+}
+
+package() {
+ cd $_pkgname-$pkgver
+
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}
+# vim: ts=2 sw=2 et: