python-ptyprocess: drop package
This commit is contained in:
parent
78b14ae2c4
commit
fee99c28ac
4 changed files with 19 additions and 33 deletions
|
@ -1,31 +0,0 @@
|
||||||
# Template file for 'python-ptyprocess'
|
|
||||||
pkgname=python-ptyprocess
|
|
||||||
version=0.6.0
|
|
||||||
revision=2
|
|
||||||
archs=noarch
|
|
||||||
wrksrc="ptyprocess-${version}"
|
|
||||||
build_style=python-module
|
|
||||||
pycompile_module="ptyprocess"
|
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
|
||||||
depends="python"
|
|
||||||
short_desc="Run a subprocess in a pseudo terminal (Python2)"
|
|
||||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
||||||
homepage="https://github.com/pexpect/ptyprocess"
|
|
||||||
license="ISC"
|
|
||||||
distfiles="${PYPI_SITE}/p/ptyprocess/ptyprocess-${version}.tar.gz"
|
|
||||||
checksum=923f299cc5ad920c68f2bc0bc98b75b9f838b93b599941a6b63ddbc2476394c0
|
|
||||||
|
|
||||||
post_install() {
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
|
||||||
|
|
||||||
python3-ptyprocess_package() {
|
|
||||||
archs=noarch
|
|
||||||
depends="python3"
|
|
||||||
pycompile_module="ptyprocess"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/lib/python3*
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -23,6 +23,6 @@ do_check() {
|
||||||
post_install() {
|
post_install() {
|
||||||
# drop asyncio stuff from python2
|
# drop asyncio stuff from python2
|
||||||
# https://github.com/pexpect/pexpect/issues/290
|
# https://github.com/pexpect/pexpect/issues/290
|
||||||
rm -f ${DESTDIR}/usr/lib/python3*/site-packages/pexpect/_async.py
|
rm -f ${DESTDIR}/usr/lib/python$py3_ver/site-packages/pexpect/_async.py
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
python-ptyprocess
|
|
18
srcpkgs/python3-ptyprocess/template
Normal file
18
srcpkgs/python3-ptyprocess/template
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
# Template file for 'python3-ptyprocess'
|
||||||
|
pkgname=python3-ptyprocess
|
||||||
|
version=0.6.0
|
||||||
|
revision=3
|
||||||
|
wrksrc="ptyprocess-${version}"
|
||||||
|
build_style=python3-module
|
||||||
|
hostmakedepends="python3-setuptools"
|
||||||
|
depends="python3"
|
||||||
|
short_desc="Run a subprocess in a pseudo terminal (Python3)"
|
||||||
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
|
license="ISC"
|
||||||
|
homepage="https://github.com/pexpect/ptyprocess"
|
||||||
|
distfiles="${PYPI_SITE}/p/ptyprocess/ptyprocess-${version}.tar.gz"
|
||||||
|
checksum=923f299cc5ad920c68f2bc0bc98b75b9f838b93b599941a6b63ddbc2476394c0
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue