30 lines
815 B
Bash
30 lines
815 B
Bash
# Template file for 'python-atomicwrites'
|
|
pkgname=python-atomicwrites
|
|
version=1.4.0
|
|
revision=2
|
|
wrksrc="atomicwrites-${version}"
|
|
build_style=python-module
|
|
pycompile_module="atomicwrites"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python"
|
|
short_desc="Simple Python2 API for atomic file writes"
|
|
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
|
|
license="MIT"
|
|
homepage="https://github.com/untitaker/python-atomicwrites"
|
|
distfiles="${PYPI_SITE}/a/atomicwrites/atomicwrites-${version}.tar.gz"
|
|
checksum=ae70396ad1a434f9c7046fd2dd196fc04b12f9e91ffb859164193be8b6168a7a
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-atomicwrites_package() {
|
|
pycompile_module="atomicwrites"
|
|
depends="python3"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|