Date: Friday, April 28, 2023 @ 12:33:10 Author: arodseth Revision: 1449082
archrelease: copy trunk to community-staging-any Added: python-configobj/repos/community-staging-any/PKGBUILD (from rev 1449081, python-configobj/trunk/PKGBUILD) Deleted: python-configobj/repos/community-staging-any/PKGBUILD ----------+ PKGBUILD | 65 ++++++++++++++++++++++++++++--------------------------------- 1 file changed, 30 insertions(+), 35 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2023-04-28 12:31:06 UTC (rev 1449081) +++ PKGBUILD 2023-04-28 12:33:10 UTC (rev 1449082) @@ -1,35 +0,0 @@ -# Maintainer: Alexander F. Rødseth <xypr...@archlinux.org> -# Contributor: Angel Velasquez <an...@archlinux.com.ve> -# Contributor: Stefan Husmann <stefan-husm...@t-online.de> -# Contributor: Manuel C. - -pkgname=python-configobj -pkgver=5.0.6.r110.g3e2f4cc -pkgrel=4 -pkgdesc='Simple config file reader and writer' -arch=(any) -url='https://github.com/DiffSK/configobj' -license=(BSD) -depends=(python-six) -makedepends=(git python-setuptools) -source=("git+$url#commit=3e2f4cca81b60171e6b3e23619f6f4929a13322e") # latest master, ref FS#68893 -sha256sums=(SKIP) - -pkgver() { - cd configobj - git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' -} - -prepare() { - cd configobj - # Avoid the need for a local configobj install just for VERSION - local _version=$(grep -oP "__version__ = '\K[^']+" src/configobj/_version.py) - sed -i "/from validate/d;s/VERSION/\"$_version\"/" setup_validate.py -} - -package() { - cd configobj - python setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - python setup_validate.py install --root="$pkgdir" --optimize=1 -} Copied: python-configobj/repos/community-staging-any/PKGBUILD (from rev 1449081, python-configobj/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2023-04-28 12:33:10 UTC (rev 1449082) @@ -0,0 +1,30 @@ +# Maintainer: Alexander F. Rødseth <xypr...@archlinux.org> +# Contributor: Angel Velasquez <an...@archlinux.com.ve> +# Contributor: Stefan Husmann <stefan-husm...@t-online.de> +# Contributor: Manuel C. + +pkgname=python-configobj +pkgver=5.0.8 +pkgrel=1 +pkgdesc='Simple config file reader and writer' +arch=(any) +url='https://github.com/DiffSK/configobj' +license=(BSD) +depends=(python-six) +makedepends=(git python-setuptools) +source=("git+$url#commit=a58c2f4de0e9e854daa67fec630506e5a461eea9") # tag: v5.0.8 +b2sums=('SKIP') + +prepare() { + cd configobj + # Avoid the need for a local configobj install just for VERSION + local _version=$(grep -oP "__version__ = '\K[^']+" src/configobj/_version.py) + sed -i "/from validate/d;s/VERSION/\"$_version\"/" setup_validate.py +} + +package() { + cd configobj + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + python setup_validate.py install --root="$pkgdir" --optimize=1 +}