mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
33 lines
1,008 B
Text
33 lines
1,008 B
Text
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Contributor: Orson Teodoro <orsonteodoro@hotmail.com>
|
|
# Maintainer: Orson Teodoro <orsonteodoro@hotmail.com>
|
|
pkgname=py3-compdb
|
|
_pkgname=${pkgname#py3-*}
|
|
pkgver=0.2.0
|
|
pkgrel=3
|
|
pkgdesc="The compilation database Swiss army knife"
|
|
url="https://github.com/Sarcasm/compdb"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3"
|
|
makedepends="py3-setuptools"
|
|
subpackages="$pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/Sarcasm/$_pkgname/archive/v$pkgver.tar.gz"
|
|
builddir="$srcdir/"$_pkgname-$pkgver
|
|
replaces="py-compdb" # Backwards compat
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
install -d "$pkgdir"/usr/share/doc/$_pkgname/
|
|
install -t "$pkgdir"/usr/share/doc/$_pkgname/ README.rst
|
|
}
|
|
|
|
sha512sums="9b3000db087243f20b91d4091d0eaa71951860eba87f74ce5dd895a2f249f816145c30a9e791752e82947d9d9f4bb9dc49738356d0af442f38aa1fd91c43cf22 py3-compdb-0.2.0.tar.gz"
|