27 lines
910 B
Bash
27 lines
910 B
Bash
# Template file for 'python3-pendulum'
|
|
pkgname=python3-pendulum
|
|
version=2.1.2
|
|
revision=4
|
|
build_style=python3-pep517
|
|
hostmakedepends="python3-poetry-core python3-setuptools"
|
|
makedepends="python3-devel"
|
|
depends="python3-dateutil python3-pytzdata"
|
|
checkdepends="python3-pytest python3-pytz python3-freezegun ${depends}"
|
|
short_desc="Python datetimes made easy"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://pendulum.eustace.io"
|
|
changelog="https://github.com/sdispater/pendulum/blob/master/CHANGELOG.md"
|
|
distfiles="https://github.com/sdispater/pendulum/archive/refs/tags/${version}.tar.gz"
|
|
checksum=4185efa48358cb9dca57a6afbc471d4b260e70f56609d5030197373564ac4a07
|
|
|
|
do_build() {
|
|
# pendulum ships a build.py script to compile some extensions;
|
|
# this will shadow the build package with python3 -m build
|
|
pyproject-build --no-isolation --wheel .
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|