Date: Thursday, November 17, 2022 @ 05:11:43
Author: polyzen
Revision: 1349300
upgpkg: python-tasklib 2.5.1-1
Modified:
python-tasklib/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-17 01:23:15 UTC (rev 1349299)
+++ PKGBUILD 2022-11-17 05:11:43 UTC (rev 1349300)
@@ -2,10 +2,7 @@
_pyname=tasklib
pkgname=python-${_pyname}
-pkgver=2.4.3.r10.g16d6e54
-# Current trunk, includes zoneinfo support from:
-#
https://github.com/GothenburgBitFactory/tasklib/commit/0307266a6f1c53110f819064f8b79d00eb73c2d4
-_commit=16d6e54f7a41f9bfc1d2d7d6fdcd8e90cbc5e9a3
+pkgver=2.5.1
pkgrel=1
pkgdesc='Python library for interacting with taskwarrior databases'
url='http://tasklib.readthedocs.org/en/latest/'
@@ -13,12 +10,12 @@
license=('BSD')
depends=('python')
makedepends=('python-setuptools' 'python-sphinx')
-source=(https://github.com/GothenburgBitFactory/tasklib/archive/${_commit}.tar.gz)
-sha512sums=('42b08d1e1c60ec3a489efe5e26c8cf2f50a57b35f0d8d2790c3e7423fe6107c9699c8bcdb39c635b41f098ef6f824bc6c315eaddf457746f80ed85621eb6e2a5')
-b2sums=('547b32f3936c16759ac04d46328835afa0d0387b6820aa3afcf4aca79ec10cadef0605a8396a866ed3ed0da5f832694340ce0d81f94955752320a9a3ec0951f4')
+source=("https://github.com/GothenburgBitFactory/tasklib/archive/$pkgver.tar.gz")
+sha512sums=('b52a94e487eb90776a5edec63bfef9a4eaa5a87065be3a5386bd0d8b277b88fb35663ea5789e573a088e54fb9aa835c27d787fced4ed5198badff995dcc2e7e0')
+b2sums=('7ca8fa519ccfb8f1fdfe06536f825f488766abcfd2e7c8c722b1dad8ecf51ea8846c93baac7207b607e50bb8285f9a0b88ba9116ca2285a1e012a053600ff8f5')
build() {
- cd ${_pyname}-${_commit}
+ cd ${_pyname}-${pkgver}
python setup.py build
export PYTHONPATH=..
make -C docs text man
@@ -25,7 +22,7 @@
}
package() {
- cd ${_pyname}-${_commit}
+ cd ${_pyname}-${pkgver}
python setup.py install --root="${pkgdir}" -O1 --skip-build
install -Dm 644 docs/_build/man/${_pyname}.1
"${pkgdir}/usr/share/man/man1/${pkgname}.1"
install -Dm 644 docs/_build/text/* -t "${pkgdir}/usr/share/doc/${pkgname}"