summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlphaJack2024-02-09 12:55:48 +0100
committerAlphaJack2024-02-09 12:55:48 +0100
commitb1d5aea8adb85cafefb3fa2b9287b40ffe1b42e1 (patch)
tree57386a4e2bafa5b2972b828bf41ba4ff8637f872
parent3518efc7cdfc99c51160821863a7a6b482f78f0c (diff)
downloadaur-python-pyscaffold.tar.gz
Updated python-pyscaffold to 4.5
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD17
2 files changed, 7 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5b513cbb21fe..f8f4e8f63245 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = python-pyscaffold
pkgdesc = Python project template generator with batteries included
- pkgver = 4.4
+ pkgver = 4.5
pkgrel = 1
url = https://github.com/pyscaffold/pyscaffold
changelog = CHANGELOG.rst
@@ -24,7 +24,7 @@ pkgbase = python-pyscaffold
optdepends = python-pytest-runner: Use the integrated unit testing.
optdepends = python-pytest: Use the integrated unit testing.
optdepends = python-sphinx: Support building documentation with Sphinx.
- source = python-pyscaffold-4.4.tar.gz::https://files.pythonhosted.org/packages/source/P/PyScaffold/PyScaffold-4.4.tar.gz
- sha256sums = 94088d129b61cd9b4b4607c6a466759b1bb2ada36206d5ac20aa319edcc5d701
+ source = python-pyscaffold-4.5.tar.gz::https://files.pythonhosted.org/packages/source/P/PyScaffold/PyScaffold-4.5.tar.gz
+ b2sums = 467ef9dd94767e51a3e9d2f2a36a0fd1b4f1a9a4b4110b0cf8e57cc4c67d9757386df461b54123786a718ec29b379bc2d7b0f600d037b2f88bf1f3854579603c
pkgname = python-pyscaffold
diff --git a/PKGBUILD b/PKGBUILD
index a650003c7215..6eb231ecb901 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=python-pyscaffold
_pkg=PyScaffold
-pkgver=4.4
+pkgver=4.5
pkgrel=1
pkgdesc="Python project template generator with batteries included"
url="https://github.com/pyscaffold/pyscaffold"
@@ -33,7 +33,7 @@ makedepends=(
# checkdepends=('git' 'python-pytest' 'python-pytest-virtualenv')
changelog=CHANGELOG.rst
source=("$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkg::1}/$_pkg/$_pkg-$pkgver.tar.gz")
-sha256sums=('94088d129b61cd9b4b4607c6a466759b1bb2ada36206d5ac20aa319edcc5d701')
+b2sums=('467ef9dd94767e51a3e9d2f2a36a0fd1b4f1a9a4b4110b0cf8e57cc4c67d9757386df461b54123786a718ec29b379bc2d7b0f600d037b2f88bf1f3854579603c')
prepare() {
cd "$_pkg-$pkgver"
@@ -43,22 +43,13 @@ prepare() {
build() {
cd "$_pkg-$pkgver"
SETUPTOOLS_SCM_PRETEND_VERSION="$pkgver" python -m build --wheel --no-isolation
- make -C docs man
+ #make -C docs man
}
-## FIXME: test fails due to git config
-# check() {
-# cd "$_pkg-$pkgver"
-# PYTHONPATH="$PWD/src" EDITOR=nano pytest \
-# -c /dev/null \
-# -m 'not slow and not system' \
-# --disable-warnings
-# }
-
package() {
cd "$_pkg-$pkgver"
python -m installer --destdir="$pkgdir/" dist/*.whl
- install -Dvm644 docs/_build/man/pyscaffold.1 -t "$pkgdir/usr/share/man/man1/"
+ #install -Dvm644 docs/_build/man/pyscaffold.1 -t "$pkgdir/usr/share/man/man1/"
local _site="$(python -c 'import site; print(site.getsitepackages()[0])')"
install -dv "$pkgdir/usr/share/licenses/$pkgname/"
ln -sv "$_site/$_pkg-$pkgver.dist-info/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"