mirror of
https://github.com/archlinux/aur.git
synced 2026-03-05 15:23:24 +01:00
python-discid: update to 0.2.0, include check()
This commit is contained in:
parent
b014e171ac
commit
6ddef35f48
2 changed files with 13 additions and 7 deletions
8
.SRCINFO
8
.SRCINFO
|
|
@ -1,15 +1,15 @@
|
|||
pkgbase = python-discid
|
||||
pkgdesc = Python binding of Libdiscid
|
||||
pkgver = 0.1.0
|
||||
pkgrel = 2
|
||||
pkgver = 0.2.0
|
||||
pkgrel = 1
|
||||
url = https://python-discid.readthedocs.org/
|
||||
arch = any
|
||||
license = LGPL3
|
||||
depends = python
|
||||
depends = libdiscid
|
||||
options = !emptydirs
|
||||
source = http://pypi.python.org/packages/source/d/discid/discid-0.1.0.tar.gz
|
||||
md5sums = 12b902fefbbb09effa7164fb87903291
|
||||
source = http://pypi.python.org/packages/source/d/discid/discid-0.2.0.tar.gz
|
||||
md5sums = aa3ebd92250d575aef961d51b2f6b5c3
|
||||
|
||||
pkgname = python-discid
|
||||
|
||||
|
|
|
|||
12
PKGBUILD
12
PKGBUILD
|
|
@ -2,8 +2,8 @@
|
|||
pkgname=python-discid
|
||||
_pkgname=discid
|
||||
_python=python
|
||||
pkgver=0.1.0
|
||||
pkgrel=2
|
||||
pkgver=0.2.0
|
||||
pkgrel=1
|
||||
pkgdesc="Python binding of Libdiscid"
|
||||
arch=('any')
|
||||
url="https://python-discid.readthedocs.org/"
|
||||
|
|
@ -13,12 +13,18 @@ makedepends=()
|
|||
conflicts=()
|
||||
options=(!emptydirs)
|
||||
source=(http://pypi.python.org/packages/source/d/$_pkgname/$_pkgname-$pkgver.tar.gz)
|
||||
md5sums=('12b902fefbbb09effa7164fb87903291')
|
||||
md5sums=('aa3ebd92250d575aef961d51b2f6b5c3')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$_pkgname-$pkgver"
|
||||
$_python setup.py build
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$srcdir/$_pkgname-$pkgver"
|
||||
$_python setup.py test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$_pkgname-$pkgver"
|
||||
$_python setup.py install --root="$pkgdir/" --optimize=1
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue