python-atomicwrites: remove package

This commit is contained in:
Michal Vasilek 2022-09-25 15:17:13 +02:00 committed by classabbyamp
parent 0c289a4123
commit 9a74a38c46
3 changed files with 18 additions and 30 deletions

View File

@ -1,29 +0,0 @@
# 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="Orphaned <orphan@voidlinux.org>"
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
}
}

View File

@ -1 +0,0 @@
python-atomicwrites

View File

@ -0,0 +1,18 @@
# Template file for 'python3-atomicwrites'
pkgname=python3-atomicwrites
version=1.4.0
revision=3
wrksrc="atomicwrites-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Simple Python3 API for atomic file writes"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/untitaker/python-atomicwrites"
distfiles="${PYPI_SITE}/a/atomicwrites/atomicwrites-${version}.tar.gz"
checksum=ae70396ad1a434f9c7046fd2dd196fc04b12f9e91ffb859164193be8b6168a7a
post_install() {
vlicense LICENSE
}