diff options
author | GI_Jack | 2018-09-08 20:36:16 -0400 |
---|---|---|
committer | GI_Jack | 2018-09-08 20:36:16 -0400 |
commit | f1773220168d629a551805628ccd38a0a4b92af9 (patch) | |
tree | cda09158278b00859959f10362f5fbff7c83e4ec | |
download | aur-f1773220168d629a551805628ccd38a0a4b92af9.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 28 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..24d30ae07457 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,28 @@ +# Generated by mksrcinfo v8 +# Sun Sep 9 00:36:12 UTC 2018 +pkgbase = python-travispy + pkgdesc = TravisPy is a Python API for Travis CI. It follows the official API and is implemented as similar as possible to Ruby implementation. + pkgver = 0.3.5 + pkgrel = 1 + url = https://github.com/menegazzo/travispy + arch = any + license = GPLv3 + depends = python-coverage + depends = python-pytest + depends = python-pytest-rerunfailures + depends = python-requests + source = travispy-0.3.5.tar.gz::https://github.com/menegazzo/travispy/archive/v0.3.5.tar.gz + sha256sums = 85293ac89d2cea0244c2a9cb64e447096993ac53fa41cc3ab8ae18d6a4d575b0 + +pkgname = python-travispy + depends = python-coverage + depends = python-pytest + depends = python-pytest-rerunfailures + depends = python-requests + +pkgname = python2-travispy + depends = python2-coverage + depends = python2-pytest + depends = python2-pytest-rerunfailures + depends = python2-requests + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..24a3e9fcdbd1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: GI_Jack <iamjacksemail@hackermail.com> + +pkgbase=python-travispy +pkgname=('python-travispy' 'python2-travispy') +_pypiname=travispy +pkgver=0.3.5 +pkgrel=1 +pkgdesc="TravisPy is a Python API for Travis CI. It follows the official API and is implemented as similar as possible to Ruby implementation." +url="https://github.com/menegazzo/travispy" +arch=('any') +license=('GPLv3') +depends=('python-coverage' 'python-pytest' 'python-pytest-rerunfailures' 'python-requests') +source=(${_pypiname}-${pkgver}.tar.gz::"https://github.com/menegazzo/travispy/archive/v${pkgver}.tar.gz") +sha256sums=('85293ac89d2cea0244c2a9cb64e447096993ac53fa41cc3ab8ae18d6a4d575b0') + +package_python-travispy() { + depends=('python-coverage' 'python-pytest' 'python-pytest-rerunfailures' 'python-requests') + + cd ${_pypiname}-${pkgver} + python setup.py install -O1 --root="${pkgdir}" --prefix=/usr +} + +package_python2-travispy() { + depends=('python2-coverage' 'python2-pytest' 'python2-pytest-rerunfailures' 'python2-requests') + + cd ${_pypiname}-${pkgver} + python2 setup.py install -O1 --root="${pkgdir}" --prefix=/usr +} + + |