void-packages/srcpkgs/python3-entrypoints/template

22 lines
683 B
Bash

# Template file for 'python3-entrypoints'
pkgname=python3-entrypoints
version=0.3
revision=6
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
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=f26eddc371e37d8e9f6663b77524d6731567f005bd1e4ac950c0e33c48fbc065
pre_build() {
vsed -i "s|@VERSION@|${version}|" setup.py
}
post_install() {
vinstall entrypoints.py 644 usr/lib/python${py3_ver}/site-packages
vlicense LICENSE
}