23 lines
718 B
Bash
23 lines
718 B
Bash
# Template file for 'python3-entrypoints'
|
|
pkgname=python3-entrypoints
|
|
version=0.4
|
|
revision=1
|
|
build_style=python3-pep517
|
|
hostmakedepends="python3-flit_core"
|
|
depends="python3"
|
|
checkdepends="python3-pytest-xdist"
|
|
short_desc="Discover and load entry points from installed packages (Python3)"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/takluyver/entrypoints"
|
|
distfiles="https://github.com/takluyver/entrypoints/archive/${version}.tar.gz"
|
|
checksum=d2197a94aa73e70a7f60600e654ac9918ca2a0ee5480eb875296c42220a02272
|
|
|
|
pre_build() {
|
|
vsed -i "s|@VERSION@|${version}|" setup.py
|
|
}
|
|
post_install() {
|
|
vinstall entrypoints.py 644 usr/lib/python${py3_ver}/site-packages
|
|
vlicense LICENSE
|
|
}
|