Accepting request 261356 from home:roman-neuhauser:branches:openSUSE:Tools
PKGBUILD file for ArchLinux OBS-URL: https://build.opensuse.org/request/show/261356 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=39
This commit is contained in:
parent
cb3af738d6
commit
9695e9dee7
31
PKGBUILD
Normal file
31
PKGBUILD
Normal file
@ -0,0 +1,31 @@
|
||||
pkgname=spec-cleaner
|
||||
pkgver=0.6.3
|
||||
pkgrel=1
|
||||
pkgdesc=".spec file cleaner"
|
||||
arch=(any)
|
||||
license=(BSD-3-Clause)
|
||||
url=https://github.com/openSUSE/$pkgname
|
||||
source=($url/$pkgname-$pkgver.tar.gz)
|
||||
sha256sums=('b3c233f1832281acf6379f36a833ceaca91b28dbcc8bab99a5ba31a69c430827')
|
||||
depends=(python-setuptools)
|
||||
makedepends=(python python-setuptools)
|
||||
# FIXME: python-mock is in the community repo which is not
|
||||
# FIXME: imported into the OBS, leading to 'unresolvable'
|
||||
#checkdepends=(python-mock python-nose)
|
||||
|
||||
build() {
|
||||
_make build
|
||||
}
|
||||
|
||||
#check() {
|
||||
# _make test
|
||||
#}
|
||||
|
||||
package() {
|
||||
_make install --root="$pkgdir"
|
||||
}
|
||||
|
||||
_make() {
|
||||
cd "$srcdir/$pkgname-$pkgname-$pkgver"
|
||||
python setup.py "$@"
|
||||
}
|
Loading…
Reference in New Issue
Block a user