summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2022-12-07 22:10:07 +0100
committerErich Eckner <git@eckner.net>2022-12-07 22:11:18 +0100
commit1f49e0ca7fab85b8687660d775a49f7cc86b4ce0 (patch)
tree55210718d3eedd7ed30fafa43f39d91d25c5d7fd
parent53cfb05ff83a629f811697ca236e0e052cebe5d4 (diff)
downloadarchlinuxewe-1f49e0ca7fab85b8687660d775a49f7cc86b4ce0.tar.xz
python-jira: 3.2.0-1 -> 3.4.1-1
-rw-r--r--python-jira/PKGBUILD12
-rw-r--r--python-jira/setup.py5
2 files changed, 12 insertions, 5 deletions
diff --git a/python-jira/PKGBUILD b/python-jira/PKGBUILD
index b30dd916a..23158e52e 100644
--- a/python-jira/PKGBUILD
+++ b/python-jira/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgname=python-jira
_pkgname="${pkgname#*-}"
-pkgver=3.2.0
+pkgver=3.4.1
pkgrel=1
pkgdesc="Python library to work with Jira APIs"
arch=(any)
@@ -13,14 +13,16 @@ depends=(
makedepends=(
'python-pip'
'python-setuptools')
-source=("$_pkgname-$pkgver.tar.gz::https://github.com/pycontribs/jira/archive/refs/tags/$pkgver.tar.gz")
-sha512sums=('16609a51c442a99fadd45e7d871cd0a0bd4f592c1a477b8cff64d53319eb0b270f1952080108de5f84e81d1b1edf75192bb66e78509ac8c7079d3e12360c19d6')
+source=("$_pkgname-$pkgver.tar.gz::https://github.com/pycontribs/jira/archive/refs/tags/$pkgver.tar.gz"
+setup.py)
+sha512sums=('76ce26b480ed51ab08b15828e2433ac0e4208102c5747b720117d0daa74f943055ea7bc247d86ab4af12d42390330efb12d2893cb8cc0b1d0300e16c084604e5'
+ '373dacad848dfd8a23d84bf329f9f2090689789361adcbf6f0fbe11ef7c5d7599039805f2f7b6c52d07e1f4b7980150f3e015fa9b0392b7c7318b1068976bc9e')
prepare() {
cd "${srcdir}/jira-${pkgver}"
- sed -i '
+ sed '
s@\(setuptools.setup(\)use_scm_version=True)@\1version='"'${pkgver}'"')@
- ' setup.py
+ ' ../setup.py > setup.py
}
package() {
diff --git a/python-jira/setup.py b/python-jira/setup.py
new file mode 100644
index 000000000..a5bf1b484
--- /dev/null
+++ b/python-jira/setup.py
@@ -0,0 +1,5 @@
+# !/usr/bin/env python
+import setuptools
+
+if __name__ == "__main__":
+ setuptools.setup(use_scm_version=True)