diff options
author | Michal Wojdyla | 2024-04-17 16:34:16 +0200 |
---|---|---|
committer | Michal Wojdyla | 2024-04-17 16:34:16 +0200 |
commit | c2e370b6249e579e7e7d3dd37d85ab681aa7d704 (patch) | |
tree | b041b784a59664d2b27a1957ca343bf2443ec28a /PKGBUILD | |
parent | bc04d8932c5d951e60904d4763345de9b776965a (diff) | |
download | aur-c2e370b6249e579e7e7d3dd37d85ab681aa7d704.tar.gz |
packaging improvements
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1,3 +1,4 @@ +# Maintainer: Michał Wojdyła < micwoj9292 at gmail dot com > # Contributor: Albert Mikaelyan <tahvok at gmail dot com> # Contributor: Mikkel Oscar Lyderik <mikkeloscar at gmail dot com> @@ -7,12 +8,12 @@ _pkgname=jenkinsapi pkgbase=python-${_pkgname}-git pkgname=("python-${_pkgname}-git") pkgver=0.3.11.r30.g4494278 -pkgrel=1 +pkgrel=2 pkgdesc="A Python API for accessing resources on a Jenkins continuous-integration server." arch=('any') url="https://github.com/${_gituser}/${_pkgname}" license=('MIT') -makedepends=("python-build" "python-flit-core" "python-installer") +makedepends=("git" "python-build" "python-flit-core" "python-installer") source=("${_pkgname}::git+https://github.com/pycontribs/jenkinsapi.git") sha256sums=('SKIP') @@ -29,9 +30,11 @@ build() { } package_python-jenkinsapi-git() { - depends=("python" "python-requests" "python-pytz") + depends=("python-setuptools" "python-requests" "python-pytz") + optdepends=("python-requests-kerberos: for Kerberos support") conflicts=("python-${_pkgname}") - + provides=("python-${_pkgname}") cd "${srcdir}/${_pkgname}" python -m installer --destdir="$pkgdir" dist/*.whl + install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/ } |