mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 23:06:40 +02:00
29 lines
859 B
Text
29 lines
859 B
Text
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=licenseheaders
|
|
pkgver=0.8.8
|
|
pkgrel=4
|
|
pkgdesc="Add/Replace license headers in a directory tree of source files"
|
|
url="https://github.com/johann-petrak/licenseheaders"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3 py3-regex"
|
|
makedepends="py3-setuptools py3-gpep517"
|
|
options="!check" # no tests
|
|
subpackages="$pkgname-pyc"
|
|
source="https://files.pythonhosted.org/packages/source/l/licenseheaders/licenseheaders-$pkgver.tar.gz"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
gpep517 install-wheel --destdir "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
3894d843493a7ac27763bc02265de2b7169989b1e6868146e64e4092355bc665e37b7d82e23c81f70040696298530d5ac424c255d8494573b5ace0abf93bc071 licenseheaders-0.8.8.tar.gz
|
|
"
|