1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00
aports/community/py3-eliot/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
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
2023-01-10 04:19:31 +01:00

33 lines
923 B
Text

# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=py3-eliot
pkgver=1.14.0
pkgrel=3
pkgdesc="Logging system that tells you why it happened"
# Requires unpackaged dask and cffi for testing journald
options="!check"
url="https://github.com/itamarst/eliot"
arch="noarch"
license="Apache-2.0"
depends="python3 py3-six py3-zope-interface py3-pyrsistent py3-boltons
py3-twisted"
makedepends="py3-setuptools"
checkdepends="py3-hypothesis py3-testtools py3-pytest"
source="$pkgname-$pkgver.tar.gz::https://github.com/itamarst/eliot/archive/refs/tags/$pkgver.tar.gz"
builddir="$srcdir/eliot-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
fd008da73ddc28f37393ffefb280e04d3a31528ea6eba2e530cfef516a850596ae9df59f031ed004ad22f16a654843692b22ea90dfe0ef95590c4e793877f7fc py3-eliot-1.14.0.tar.gz
"