mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 11:15:13 +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
25 lines
757 B
Text
25 lines
757 B
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=py3-pyjokes
|
|
pkgver=0.6.0
|
|
pkgrel=4
|
|
pkgdesc="One line jokes for programmers (jokes as a service)"
|
|
url="https://pyjok.es/"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
depends="python3"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest"
|
|
source="https://pypi.python.org/packages/source/p/pyjokes/pyjokes-$pkgver.tar.gz"
|
|
options="!check" # No tests
|
|
builddir="$srcdir/pyjokes-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="9622caffe060cbc498f9c6230969e4c239477a3fb59c6f1b9d3897ae1f2064b20e10accae5a74c35012f7024451dc3154e1e5039ef46fd8e13c6dc9c9f8622ae pyjokes-0.6.0.tar.gz"
|