From 1f49e0ca7fab85b8687660d775a49f7cc86b4ce0 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 7 Dec 2022 22:10:07 +0100 Subject: python-jira: 3.2.0-1 -> 3.4.1-1 --- python-jira/PKGBUILD | 12 +++++++----- python-jira/setup.py | 5 +++++ 2 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 python-jira/setup.py (limited to 'python-jira') 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 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) -- cgit v1.2.3-70-g09d2