upgpkg: python-pydeps 1.10.17-1

New upstream release.
This commit is contained in:
George Rawlinson 2022-04-22 16:06:18 +12:00
parent 641122e227
commit 26ca4ce718
Signed by: grawlinson
GPG key ID: E0959FEA8B550539

View file

@ -2,11 +2,11 @@
pkgname=python-pydeps
_name=${pkgname#python-}
pkgver=1.10.14
pkgver=1.10.17
pkgrel=1
pkgdesc="Python module dependency graphs"
pkgdesc='Python module dependency graphs'
arch=('any')
url="https://github.com/thebjorn/pydeps"
url='https://github.com/thebjorn/pydeps'
license=('BSD')
depends=(
'python'
@ -14,19 +14,26 @@ depends=(
'python-stdlib-list'
'graphviz'
)
makedepends=('python-setuptools')
makedepends=('git' 'python-setuptools')
checkdepends=('python-pytest')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha512sums=('300b28ce2692bb997e29880d0ee745eaf6808954ab7dede1bc66e4a84edacdd0f49d4d8ec0112befee37af5bcacf69be93a91da36080574c0a432294c7381477')
b2sums=('64ebf4af8acfdbd2ffdaba18050c81fe18bb0d37bbb2054e3891cd0ff4a14d3f923cdd4a8e53a6d706c1733bc48b73c7da825a2e12c1aea8b614000b7a6b129d')
_commit='1aac4898bf493df8fae0015b46d69e7b0aa0aef1'
source=("$pkgname::git+$url.git#commit=$_commit")
b2sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --tags | sed 's/^v//'
}
build() {
cd "$_name-$pkgver"
cd "$pkgname"
python setup.py build
}
check() {
cd "$_name-$pkgver"
cd "$pkgname"
# figure out why package can't find pip
# (even if it is installed as a dependency)
@ -34,7 +41,7 @@ check() {
}
package() {
cd "$_name-$pkgver"
cd "$pkgname"
python setup.py install --root="$pkgdir" --optimize=1