diff options
author | Chocobo1 | 2023-06-05 01:53:14 +0800 |
---|---|---|
committer | Chocobo1 | 2023-06-05 01:54:59 +0800 |
commit | c130c4fb75a41e9ca429087543ee8aba0af6b2fa (patch) | |
tree | 86d1a628c59fb414d512ca675e2bcb8e9f6ac5a1 | |
parent | 0e58bf999b377ef353f6c93d687dbd6daebc413c (diff) | |
download | aur-nuitka-git.tar.gz |
upgpkg: nuitka-git 1.6.r105.gd263e6fd2-1
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 13 insertions, 7 deletions
@@ -1,6 +1,6 @@ pkgbase = nuitka-git pkgdesc = A Python compiler - pkgver = 1.5.5.r338.g3c3e8f96d + pkgver = 1.6.r105.gd263e6fd2 pkgrel = 1 url = https://nuitka.net/ arch = any @@ -8,10 +8,12 @@ pkgbase = nuitka-git makedepends = git makedepends = python-build makedepends = python-installer - makedepends = python-wheel + depends = libxml2 depends = python + depends = python-setuptools + depends = python-wheel optdepends = chrpath: for building standalone executables - provides = nuitka=1.5.5.r338.g3c3e8f96d + provides = nuitka=1.6.r105.gd263e6fd2 conflicts = nuitka source = git+https://github.com/Nuitka/Nuitka.git sha256sums = SKIP @@ -1,14 +1,14 @@ # Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net> pkgname=nuitka-git -pkgver=1.5.5.r338.g3c3e8f96d +pkgver=1.6.r105.gd263e6fd2 pkgrel=1 pkgdesc="A Python compiler" arch=('any') url="https://nuitka.net/" license=('Apache') -depends=('python') -makedepends=('git' 'python-build' 'python-installer' 'python-wheel') +depends=('libxml2' 'python' 'python-setuptools' 'python-wheel') +makedepends=('git' 'python-build' 'python-installer') optdepends=('chrpath: for building standalone executables') provides=("nuitka=$pkgver") conflicts=('nuitka') @@ -19,7 +19,10 @@ sha256sums=('SKIP') pkgver() { cd "Nuitka" - git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' + _tag=$(git tag -l --sort -v:refname | grep -E '^v?[0-9\.]+$' | head -n1) + _rev=$(git rev-list --count $_tag..HEAD) + _hash=$(git rev-parse --short HEAD) + printf "%s.r%s.g%s" "$_tag" "$_rev" "$_hash" | sed 's/^v//' } build() { @@ -38,4 +41,5 @@ package() { -m installer \ --destdir="$pkgdir" \ dist/*.whl + install -Dm644 {Changelog,Developer_Manual,README}.rst -t "$pkgdir/usr/share/doc/nuitka" } |