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