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
26 lines
765 B
Text
26 lines
765 B
Text
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Maintainer:
|
|
pkgname=py3-deprecation
|
|
pkgver=2.1.0
|
|
pkgrel=4
|
|
pkgdesc="Library to handle automated deprecations"
|
|
options="!check" # Requires unittest2
|
|
url="https://deprecation.readthedocs.io/en/latest/"
|
|
arch="noarch"
|
|
license="Apache-2.0"
|
|
depends="python3 py3-packaging"
|
|
makedepends="py3-setuptools"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/briancurtin/deprecation/archive/$pkgver.tar.gz"
|
|
builddir="$srcdir/deprecation-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
55d39c7955d4b325a46d55f3600c02cf87d2ccfce550bbd500a6596a5af195a08cf4f74487bc85808d58140cc2d5aa5324967b7900850c6df13680e3ccca296c py3-deprecation-2.1.0.tar.gz
|
|
"
|