General code cleanup
This commit is contained in:
parent
4cdb37e41b
commit
18763a8085
6
PKGBUILD
6
PKGBUILD
@ -17,17 +17,17 @@ source=("${pkgname}::git+file:///home/etorres/Projects/packaging-scripts")
|
|||||||
sha256sums=('SKIP')
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir"
|
cd $srcdir/$pkgname
|
||||||
python setup.py build
|
python setup.py build
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
cd "$srcdir"
|
cd $srcdir/$pkgname
|
||||||
python -m unittest
|
python -m unittest
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir"
|
cd $srcdir/$pkgname
|
||||||
|
|
||||||
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
|
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user