mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
29 lines
876 B
Text
29 lines
876 B
Text
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py3-twiggy
|
|
_pkgname=Twiggy
|
|
pkgver=0.5.1
|
|
pkgrel=1
|
|
pkgdesc="A Pythonic logger"
|
|
url="https://github.com/wearpants/twiggy"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
depends="python3 py3-six"
|
|
makedepends="py3-setuptools"
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
replaces="py-twiggy" # Backwards compatibility
|
|
provides="py-twiggy=$pkgver-r$pkgrel" # Backwards compatibility
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
71557175e8b4629bffe78ce81b1e6487fff30162fb123794a19b8f7e117b756cdb890dc21c8673a554931c1b33e47871d51876e65470808b57ad3f1d3df4b4fa Twiggy-0.5.1.tar.gz
|
|
"
|