diff options
author | Konstantin Shalygin | 2017-02-21 16:07:10 +0700 |
---|---|---|
committer | Konstantin Shalygin | 2017-02-21 16:07:15 +0700 |
commit | 43d30a13469581ad9e8793919e99cb4088ffc016 (patch) | |
tree | 48c47c7a938df54da12df65f0752779116fa14a1 | |
download | aur-43d30a13469581ad9e8793919e99cb4088ffc016.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 26 | ||||
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | PKGBUILD | 29 |
3 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0fc77dabed1e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,26 @@ +# Generated by mksrcinfo v8 +# Tue Feb 21 09:05:44 UTC 2017 +pkgbase = pyocclient + pkgdesc = Python client library for ownCloud + pkgver = 0.4 + pkgrel = 1 + url = https://github.com/owncloud/pyocclient + arch = any + license = MIT + makedepends = python + makedepends = python-setuptools + makedepends = python2 + makedepends = python2-setuptools + source = https://github.com/owncloud/pyocclient/archive/v0.4.tar.gz + sha256sums = 841c9057b66fc56ffa867b6b94ee9ec175ddd70ca9c80e0c5e4c51a1694c51dc + +pkgname = python-pyocclient + depends = python + depends = python-requests + depends = python-six + +pkgname = python2-pyocclient + depends = python2 + depends = python2-requests + depends = python2-six + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..7c6927b4669a --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +pkg/* +src/* +*.tar.* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6f35aa6037c8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Konstantin Shalygin <k0ste@k0ste.ru> +# Contributor: Konstantin Shalygin <k0ste@k0ste.ru> + +pkgbase='pyocclient' +pkgname=('python-pyocclient' 'python2-pyocclient') +pkgver='0.4' +pkgrel='1' +pkgdesc='Python client library for ownCloud' +arch=('any') +url="https://github.com/owncloud/${pkgbase}" +makedepends=('python' 'python-setuptools' + 'python2' 'python2-setuptools') +license=('MIT') +source=("${url}/archive/v${pkgver}.tar.gz") +sha256sums=('841c9057b66fc56ffa867b6b94ee9ec175ddd70ca9c80e0c5e4c51a1694c51dc') + +package_python-pyocclient() { + depends=('python' 'python-requests' 'python-six') + + cd "${srcdir}/${pkgbase}-${pkgver}" + python setup.py install -O1 --root="${pkgdir}" +} + +package_python2-pyocclient() { + depends=('python2' 'python2-requests' 'python2-six') + + cd "${srcdir}/${pkgbase}-${pkgver}" + python2 setup.py install -O1 --root="${pkgdir}" +} |