[arch-commits] Commit in python-distro/trunk (PKGBUILD)
Levente Polyak
anthraxx at gemini.archlinux.org
Wed Sep 8 18:36:39 UTC 2021
Date: Wednesday, September 8, 2021 @ 18:36:39
Author: anthraxx
Revision: 1012946
upgpkg: python-distro 1.6.0-1
Modified:
python-distro/trunk/PKGBUILD
----------+
PKGBUILD | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-09-08 18:33:57 UTC (rev 1012945)
+++ PKGBUILD 2021-09-08 18:36:39 UTC (rev 1012946)
@@ -3,18 +3,18 @@
pkgbase=python-distro
pkgname=('python-distro' 'python2-distro')
-pkgver=1.5.0
-pkgrel=3
+pkgver=1.6.0
+pkgrel=1
pkgdesc='Linux OS platform information API'
-url='https://github.com/nir0s/distro'
+url='https://github.com/python-distro/distro'
arch=('any')
license=('Apache')
makedepends=('python-setuptools' 'python-sphinx' 'python2-setuptools')
checkdepends=('python-pytest' 'python2-pytest')
options=('!makeflags')
-source=(https://github.com/nir0s/distro/archive/v${pkgver}/${pkgbase}-${pkgver}.tar.gz)
-sha512sums=('35933ded65f99a86f9077af2d01528af337cda7b100f622fdcb0eaccd42baf7e4de77908870bfb1f575326cde85d6abc5a66f28a017c9813eb216dc55f3d94dd')
-b2sums=('efc32a8ba6ffcd6eb7697d7b87ca5f84a91d7d9497249d43cd75fe51422e801111a480a48017d09f5101454d8af3341d0b5368a9093849c5078610cccaf60e53')
+source=(${url}/archive/v${pkgver}/${pkgbase}-${pkgver}.tar.gz)
+sha512sums=('48cff21ea152ec57c4505a72ffb1af5a138199f10ea908e138d16f48732f602a5b4f8bec2ee76b629981a1625453adf1b6895f4573229002b3b3ff7b76efbede')
+b2sums=('558c4b1fcb93882b589375dd719f0f6100e4a78bbe9f167821c1588f82abbe00afd68f22f191f3722f0dd4358d76a6e295c8e69af29fdcd6ba7399d927e96f1c')
prepare() {
cp -a distro-${pkgver}{,-py2}
@@ -44,7 +44,6 @@
depends=('python' 'python-setuptools')
cd distro-${pkgver}
python setup.py install -O1 --root="${pkgdir}" --skip-build
- install -Dm 644 build_docs/man/ld.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
install -Dm 644 README.md CHANGELOG.md -t "${pkgdir}/usr/share/doc/${pkgname}"
}
@@ -52,7 +51,6 @@
depends=('python2' 'python2-setuptools')
cd distro-${pkgver}-py2
python2 setup.py install -O1 --root="${pkgdir}" --skip-build
- install -Dm 644 build_docs/man/ld.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
install -Dm 644 README.md CHANGELOG.md -t "${pkgdir}/usr/share/doc/${pkgname}"
mv "${pkgdir}/usr/bin/distro"{,2}
}
More information about the arch-commits
mailing list