Daniel M. Capella pushed to branch main at Arch Linux / Packaging / Packages / afew
Commits: 81df8831 by Daniel M. Capella at 2024-04-05T18:38:36-04:00 upgpkg: 3.0.1-7: Rebuild for Python 3.12 - - - - - 2 changed files: - + .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -0,0 +1,22 @@ +pkgbase = afew + pkgdesc = Initial tagging script for notmuch mail + pkgver = 3.0.1 + pkgrel = 7 + url = https://github.com/afewmail/afew + arch = any + license = ISC + checkdepends = python-freezegun + makedepends = git + makedepends = python-build + makedepends = python-installer + makedepends = python-setuptools-scm + makedepends = python-sphinx + makedepends = python-wheel + depends = notmuch + depends = python-chardet + depends = python-dkim + depends = python-setuptools + source = git+https://github.com/afewmail/afew.git#tag=3.0.1 + b2sums = 9b1e75379270dd2eb680f6f23bc89fa511658137742467d06ff01bd665de25ecd5d4bd5b95c43a6f994d6635cc8914b422788da49d3c959cb0008b262d18ecc9 + +pkgname = afew ===================================== PKGBUILD ===================================== @@ -5,34 +5,39 @@ pkgname=afew pkgver=3.0.1 -pkgrel=6 +pkgrel=7 pkgdesc='Initial tagging script for notmuch mail' arch=('any') url=https://github.com/afewmail/afew license=('ISC') depends=('notmuch' 'python-chardet' 'python-dkim' 'python-setuptools') -makedepends=('python-build' 'python-installer' 'python-setuptools-scm' - 'python-sphinx' 'python-wheel') +makedepends=( + 'git' + 'python-build' + 'python-installer' + 'python-setuptools-scm' + 'python-sphinx' + 'python-wheel' +) checkdepends=('python-freezegun') -source=("https://files.pythonhosted.org/packages/source/a/afew/afew-$pkgver.tar.gz") -sha256sums=('ce857fe1a3bc0982c1dac81aef66cacc148e4f9db06da720f869392af1c2ee72') -b2sums=('9ce125ec2359f7cf4630b9602b3068327adc06a699d325c90bc9b545df9ce7f3a62623cc733dfec55ee3e51523e4512ebec04e7186470fc56bb1589a7141cbc9') +source=("git+$url.git#tag=$pkgver") +b2sums=('9b1e75379270dd2eb680f6f23bc89fa511658137742467d06ff01bd665de25ecd5d4bd5b95c43a6f994d6635cc8914b422788da49d3c959cb0008b262d18ecc9') build() { - cd afew-$pkgver + cd $pkgname python -m build --wheel --skip-dependency-check --no-isolation PYTHONPATH="build:$PYTHONPATH" sphinx-build -b man docs build } check() { - cd afew-$pkgver - python -m unittest discover afew/tests + cd $pkgname + python -m unittest discover $pkgname/tests } package() { - cd afew-$pkgver + cd $pkgname python -m installer --destdir="$pkgdir" dist/*.whl - install -Dm644 -t "$pkgdir"/usr/share/man/man1 build/afew.1 + install -Dm644 -t "$pkgdir"/usr/share/man/man1 build/$pkgname.1 # Symlink license file local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/afew/-/commit/81df8831d7233effad5c0b279936af9853a0388a -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/afew/-/commit/81df8831d7233effad5c0b279936af9853a0388a You're receiving this email because of your account on gitlab.archlinux.org.
