From 78b14ae2c49e7047b3b14090500bcc83ee5c579d 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:53:49 +0700 Subject: [PATCH] python-pexpect: drop package --- srcpkgs/python-pexpect/template | 41 -------------------------------- srcpkgs/python3-pexpect | 1 - srcpkgs/python3-pexpect/template | 28 ++++++++++++++++++++++ 3 files changed, 28 insertions(+), 42 deletions(-) delete mode 100644 srcpkgs/python-pexpect/template delete mode 120000 srcpkgs/python3-pexpect create mode 100644 srcpkgs/python3-pexpect/template diff --git a/srcpkgs/python-pexpect/template b/srcpkgs/python-pexpect/template deleted file mode 100644 index 03102c3d294..00000000000 --- a/srcpkgs/python-pexpect/template +++ /dev/null @@ -1,41 +0,0 @@ -# Template file for 'python-pexpect' -pkgname=python-pexpect -version=4.7.0 -revision=2 -archs=noarch -wrksrc="pexpect-${version}" -build_style=python-module -pycompile_module="pexpect" -hostmakedepends="python-setuptools python3-setuptools" -depends="python-ptyprocess" -checkdepends="python3-pytest python3-ptyprocess mdocml" -short_desc="Python2 module for spawning child applications and controlling them" -maintainer="Alessio Sergi " -license="ISC" -homepage="https://pexpect.readthedocs.io/" -distfiles="${PYPI_SITE}/p/pexpect/pexpect-${version}.tar.gz" -checksum=9e2c1fd0e6ee3a49b28f95d4b33bc389c89b20af6a1255906e90ff1262ce62eb - -do_check() { - # the mdcocml is for test - # REPLWrapTestCase.test_pager_as_cat - python3 -m pytest -} - -post_install() { - # drop asyncio stuff from python2 - # https://github.com/pexpect/pexpect/issues/290 - rm -f ${DESTDIR}/usr/lib/python2*/site-packages/pexpect/_async.py - vlicense LICENSE -} - -python3-pexpect_package() { - archs=noarch - depends="python3-ptyprocess" - pycompile_module="pexpect" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vlicense LICENSE - } -} diff --git a/srcpkgs/python3-pexpect b/srcpkgs/python3-pexpect deleted file mode 120000 index 1ad8b9136c4..00000000000 --- a/srcpkgs/python3-pexpect +++ /dev/null @@ -1 +0,0 @@ -python-pexpect \ No newline at end of file diff --git a/srcpkgs/python3-pexpect/template b/srcpkgs/python3-pexpect/template new file mode 100644 index 00000000000..44eb0c15f6b --- /dev/null +++ b/srcpkgs/python3-pexpect/template @@ -0,0 +1,28 @@ +# Template file for 'python3-pexpect' +pkgname=python3-pexpect +version=4.7.0 +revision=3 +wrksrc="pexpect-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-ptyprocess" +checkdepends="python3-pytest python3-ptyprocess mdocml" +short_desc="Python3 module for spawning child applications and controlling them" +maintainer="Orphaned " +license="ISC" +homepage="https://pexpect.readthedocs.io/" +distfiles="${PYPI_SITE}/p/pexpect/pexpect-${version}.tar.gz" +checksum=9e2c1fd0e6ee3a49b28f95d4b33bc389c89b20af6a1255906e90ff1262ce62eb + +do_check() { + # the mdcocml is for test + # REPLWrapTestCase.test_pager_as_cat + python3 -m pytest +} + +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 + vlicense LICENSE +}