python3-anytree: build with setuptools_scm

While we're at it, remove /usr/LICENSE (paper42).

Close: #30134
This commit is contained in:
Đoàn Trần Công Danh 2021-04-12 07:48:25 +07:00
parent a4628b1dfd
commit 1d96279e66

View file

@ -1,14 +1,19 @@
# Template file for 'python3-anytree' # Template file for 'python3-anytree'
pkgname=python3-anytree pkgname=python3-anytree
version=2.8.0 version=2.8.0
revision=2 revision=3
wrksrc="anytree-${version}" wrksrc="anytree-${version}"
build_style=python3-module build_style=python3-module
hostmakedepends="python3-setuptools" hostmakedepends="python3-setuptools_scm"
depends="python3-six" depends="python3-six"
checkdepends="python3-six python3-coverage python3-nose graphviz"
short_desc="Powerful and lightweight Python tree data structure" short_desc="Powerful and lightweight Python tree data structure"
maintainer="q66 <daniel@octaforge.org>" maintainer="q66 <daniel@octaforge.org>"
license="Apache-2.0" license="Apache-2.0"
homepage="https://github.com/c0fec0de/anytree" homepage="https://github.com/c0fec0de/anytree"
distfiles="${PYPI_SITE}/a/anytree/anytree-${version}.tar.gz" distfiles="${PYPI_SITE}/a/anytree/anytree-${version}.tar.gz"
checksum=3f0f93f355a91bc3e6245319bf4c1d50e3416cc7a35cc1133c1ff38306bbccab checksum=3f0f93f355a91bc3e6245319bf4c1d50e3416cc7a35cc1133c1ff38306bbccab
post_install() {
rm ${DESTDIR}/usr/LICENSE
}