upgpkg: python-pydeps 1.11.0-1
This commit is contained in:
parent
3fd28ddb7f
commit
f61c69e6b1
1 changed files with 11 additions and 5 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
pkgname=python-pydeps
|
||||
_name=${pkgname#python-}
|
||||
pkgver=1.10.24
|
||||
pkgver=1.11.0
|
||||
pkgrel=1
|
||||
pkgdesc='Python module dependency graphs'
|
||||
arch=('any')
|
||||
|
@ -14,9 +14,15 @@ depends=(
|
|||
'python-stdlib-list'
|
||||
'graphviz'
|
||||
)
|
||||
makedepends=('git' 'python-setuptools')
|
||||
makedepends=(
|
||||
'git'
|
||||
'python-build'
|
||||
'python-installer'
|
||||
'python-wheel'
|
||||
'python-setuptools'
|
||||
)
|
||||
checkdepends=('python-pytest')
|
||||
_commit='aed17eb135fa79611524dfe0ba2778a00e9d0ab1'
|
||||
_commit='793e20a43d1adc7798793b42344a480f94e1d7c1'
|
||||
source=("$pkgname::git+$url.git#commit=$_commit")
|
||||
b2sums=('SKIP')
|
||||
|
||||
|
@ -29,7 +35,7 @@ pkgver() {
|
|||
build() {
|
||||
cd "$pkgname"
|
||||
|
||||
python setup.py build
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
check() {
|
||||
|
@ -43,7 +49,7 @@ check() {
|
|||
package() {
|
||||
cd "$pkgname"
|
||||
|
||||
python setup.py install --root="$pkgdir" --optimize=1
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
|
||||
# documentation
|
||||
install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.rst
|
||||
|
|
Loading…
Reference in a new issue