diff options
author | Julien Nicoulaud | 2022-01-04 17:34:03 +0100 |
---|---|---|
committer | Julien Nicoulaud | 2022-01-04 17:34:03 +0100 |
commit | ec3b4312a5e12bc750cd48e0cd4917da7b8602f1 (patch) | |
tree | 0a691cade3606e029d8709dfa4c014895cae5d62 | |
download | aur-ec3b4312a5e12bc750cd48e0cd4917da7b8602f1.tar.gz |
1.3.3
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | PKGBUILD | 25 |
3 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6fe47a80a1ff --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = python-pygitguardian + pkgdesc = GitGuardian API Client. + pkgver = 1.3.3 + pkgrel = 1 + url = https://github.com/GitGuardian/py-gitguardian + arch = any + license = MIT + makedepends = python-setuptools + depends = python + depends = python-marshmallow + depends = python-requests + source = https://files.pythonhosted.org/packages/source/p/pygitguardian/pygitguardian-1.3.3.tar.gz + sha256sums = 0d14675e32a6d148c87bc997431078872ee477a8e84df5b2bfd592e5467ce37b + +pkgname = python-pygitguardian diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..72a3ed3fe6e0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*.tar* +pkg/ +src/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..bc0a8456ebba --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Julien Nicoulaud <julien.nicoulaud@gmail.com> +_pkgname=pygitguardian +pkgname=python-${_pkgname} +pkgver=1.3.3 +pkgrel=1 +pkgdesc="GitGuardian API Client." +arch=(any) +url="https://github.com/GitGuardian/py-gitguardian" +license=(MIT) +depends=('python' + 'python-marshmallow' + 'python-requests') +makedepends=('python-setuptools') +source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz") +sha256sums=('0d14675e32a6d148c87bc997431078872ee477a8e84df5b2bfd592e5467ce37b') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + python setup.py build +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + python setup.py install --root="$pkgdir/" --optimize=1 --skip-build +} |