From fee99c28ace3a5e8a43c10e1034430851ab04ddd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sun, 20 Sep 2020 19:56:07 +0700 Subject: [PATCH] python-ptyprocess: drop package --- srcpkgs/python-ptyprocess/template | 31 ----------------------------- srcpkgs/python3-pexpect/template | 2 +- srcpkgs/python3-ptyprocess | 1 - srcpkgs/python3-ptyprocess/template | 18 +++++++++++++++++ 4 files changed, 19 insertions(+), 33 deletions(-) delete mode 100644 srcpkgs/python-ptyprocess/template delete mode 120000 srcpkgs/python3-ptyprocess create mode 100644 srcpkgs/python3-ptyprocess/template diff --git a/srcpkgs/python-ptyprocess/template b/srcpkgs/python-ptyprocess/template deleted file mode 100644 index fd2e51fa3ac..00000000000 --- a/srcpkgs/python-ptyprocess/template +++ /dev/null @@ -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 " -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 - } -} diff --git a/srcpkgs/python3-pexpect/template b/srcpkgs/python3-pexpect/template index 44eb0c15f6b..0d6548021c2 100644 --- a/srcpkgs/python3-pexpect/template +++ b/srcpkgs/python3-pexpect/template @@ -23,6 +23,6 @@ do_check() { post_install() { # drop asyncio stuff from python2 # 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 } diff --git a/srcpkgs/python3-ptyprocess b/srcpkgs/python3-ptyprocess deleted file mode 120000 index 08451da4e8b..00000000000 --- a/srcpkgs/python3-ptyprocess +++ /dev/null @@ -1 +0,0 @@ -python-ptyprocess \ No newline at end of file diff --git a/srcpkgs/python3-ptyprocess/template b/srcpkgs/python3-ptyprocess/template new file mode 100644 index 00000000000..b6d93378e7d --- /dev/null +++ b/srcpkgs/python3-ptyprocess/template @@ -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 " +license="ISC" +homepage="https://github.com/pexpect/ptyprocess" +distfiles="${PYPI_SITE}/p/ptyprocess/ptyprocess-${version}.tar.gz" +checksum=923f299cc5ad920c68f2bc0bc98b75b9f838b93b599941a6b63ddbc2476394c0 + +post_install() { + vlicense LICENSE +}