New package: python-send2trash-1.4.2
This commit is contained in:
parent
bf3081ba75
commit
ecb2a069cb
31
srcpkgs/python-send2trash/template
Normal file
31
srcpkgs/python-send2trash/template
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
# Template file for 'python-send2trash'
|
||||||
|
pkgname=python-send2trash
|
||||||
|
version=1.4.2
|
||||||
|
revision=1
|
||||||
|
noarch=yes
|
||||||
|
wrksrc="send2trash-${version}"
|
||||||
|
build_style=python-module
|
||||||
|
pycompile_module="send2trash"
|
||||||
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
|
depends="python"
|
||||||
|
short_desc="Python2 library to natively send files to trash"
|
||||||
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
|
homepage="https://github.com/hsoft/send2trash"
|
||||||
|
license="3-clause-BSD"
|
||||||
|
distfiles="https://github.com/hsoft/send2trash/archive/${version}.tar.gz"
|
||||||
|
checksum=3fd57fc13078f3570e70a860a15f92eec8fa08933ca2e1dba43a98ee2587de39
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
|
python3-send2trash_package() {
|
||||||
|
noarch=yes
|
||||||
|
depends="python3"
|
||||||
|
pycompile_module="send2trash"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3*
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3-send2trash
Symbolic link
1
srcpkgs/python3-send2trash
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
python-send2trash
|
Loading…
x
Reference in New Issue
Block a user