From ae46daa486028e2bc713665bfdbb892721de3dc3 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sat, 11 Mar 2023 17:18:59 +0100 Subject: Move {app-text/pytextile → dev-python/textile} MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- app-text/pytextile/Manifest | 1 - app-text/pytextile/metadata.xml | 15 ----------- app-text/pytextile/pytextile-4.0.2.ebuild | 43 ------------------------------- dev-python/markups/markups-3.1.3.ebuild | 2 +- dev-python/markups/markups-4.0.0.ebuild | 2 +- dev-python/textile/Manifest | 1 + dev-python/textile/metadata.xml | 15 +++++++++++ dev-python/textile/textile-4.0.2.ebuild | 43 +++++++++++++++++++++++++++++++ profiles/updates/1Q-2023 | 1 + 9 files changed, 62 insertions(+), 61 deletions(-) delete mode 100644 app-text/pytextile/Manifest delete mode 100644 app-text/pytextile/metadata.xml delete mode 100644 app-text/pytextile/pytextile-4.0.2.ebuild create mode 100644 dev-python/textile/Manifest create mode 100644 dev-python/textile/metadata.xml create mode 100644 dev-python/textile/textile-4.0.2.ebuild diff --git a/app-text/pytextile/Manifest b/app-text/pytextile/Manifest deleted file mode 100644 index 7f0d8ee5ac4d..000000000000 --- a/app-text/pytextile/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST python-textile-4.0.2.gh.tar.gz 49296 BLAKE2B e9ac36b0ecf401a07aea1037c1f4390e440123d7e16f8fef64c257d27f6ef9c6918018ff34e9f8ad367767f3ebc5ce7957be424b2e6dac62fe8a1f7736b8eff7 SHA512 eb59e44b9a8521bcfa98f476e23efd727ffd867277d24f102bbb9511a99a0d636c324e22f8562382074007f304490c4ec6a5fde529f41b15f055a9cf16d49b8e diff --git a/app-text/pytextile/metadata.xml b/app-text/pytextile/metadata.xml deleted file mode 100644 index 9fcb3d2c7ea1..000000000000 --- a/app-text/pytextile/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - python@gentoo.org - Python - - A Python implementation of Textile, Dean Allen's Human Text Generator. - Textile simplifies the work of creating (X)HTML. - - - textile - textile/python-textile - - diff --git a/app-text/pytextile/pytextile-4.0.2.ebuild b/app-text/pytextile/pytextile-4.0.2.ebuild deleted file mode 100644 index c946d2963386..000000000000 --- a/app-text/pytextile/pytextile-4.0.2.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) - -inherit distutils-r1 - -MY_P="python-textile-${PV}" -DESCRIPTION="A Python port of Textile, A humane web text generator" -HOMEPAGE=" - https://github.com/textile/python-textile/ - https://pypi.org/project/textile/ -" -SRC_URI=" - https://github.com/textile/python-textile/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ppc ppc64 ~riscv sparc x86" - -RDEPEND=" - dev-python/html5lib[${PYTHON_USEDEP}] - dev-python/regex[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # tests that need network access - tests/test_getimagesize.py - tests/test_imagesize.py - tests/test_textile.py - ) - epytest -o addopts= -} diff --git a/dev-python/markups/markups-3.1.3.ebuild b/dev-python/markups/markups-3.1.3.ebuild index 85bbc9ca1529..f9c9936a297d 100644 --- a/dev-python/markups/markups-3.1.3.ebuild +++ b/dev-python/markups/markups-3.1.3.ebuild @@ -27,7 +27,7 @@ RDEPEND=" " BDEPEND=" test? ( - app-text/pytextile[${PYTHON_USEDEP}] + dev-python/textile[${PYTHON_USEDEP}] dev-python/docutils[${PYTHON_USEDEP}] dev-python/pygments[${PYTHON_USEDEP}] dev-python/pymdown-extensions[${PYTHON_USEDEP}] diff --git a/dev-python/markups/markups-4.0.0.ebuild b/dev-python/markups/markups-4.0.0.ebuild index 50dbf8a96e43..26eec42b5e81 100644 --- a/dev-python/markups/markups-4.0.0.ebuild +++ b/dev-python/markups/markups-4.0.0.ebuild @@ -28,7 +28,7 @@ RDEPEND=" " BDEPEND=" test? ( - app-text/pytextile[${PYTHON_USEDEP}] + dev-python/textile[${PYTHON_USEDEP}] dev-python/docutils[${PYTHON_USEDEP}] dev-python/pygments[${PYTHON_USEDEP}] dev-python/pymdown-extensions[${PYTHON_USEDEP}] diff --git a/dev-python/textile/Manifest b/dev-python/textile/Manifest new file mode 100644 index 000000000000..7f0d8ee5ac4d --- /dev/null +++ b/dev-python/textile/Manifest @@ -0,0 +1 @@ +DIST python-textile-4.0.2.gh.tar.gz 49296 BLAKE2B e9ac36b0ecf401a07aea1037c1f4390e440123d7e16f8fef64c257d27f6ef9c6918018ff34e9f8ad367767f3ebc5ce7957be424b2e6dac62fe8a1f7736b8eff7 SHA512 eb59e44b9a8521bcfa98f476e23efd727ffd867277d24f102bbb9511a99a0d636c324e22f8562382074007f304490c4ec6a5fde529f41b15f055a9cf16d49b8e diff --git a/dev-python/textile/metadata.xml b/dev-python/textile/metadata.xml new file mode 100644 index 000000000000..9fcb3d2c7ea1 --- /dev/null +++ b/dev-python/textile/metadata.xml @@ -0,0 +1,15 @@ + + + + + python@gentoo.org + Python + + A Python implementation of Textile, Dean Allen's Human Text Generator. + Textile simplifies the work of creating (X)HTML. + + + textile + textile/python-textile + + diff --git a/dev-python/textile/textile-4.0.2.ebuild b/dev-python/textile/textile-4.0.2.ebuild new file mode 100644 index 000000000000..c946d2963386 --- /dev/null +++ b/dev-python/textile/textile-4.0.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +MY_P="python-textile-${PV}" +DESCRIPTION="A Python port of Textile, A humane web text generator" +HOMEPAGE=" + https://github.com/textile/python-textile/ + https://pypi.org/project/textile/ +" +SRC_URI=" + https://github.com/textile/python-textile/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 ~riscv sparc x86" + +RDEPEND=" + dev-python/html5lib[${PYTHON_USEDEP}] + dev-python/regex[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # tests that need network access + tests/test_getimagesize.py + tests/test_imagesize.py + tests/test_textile.py + ) + epytest -o addopts= +} diff --git a/profiles/updates/1Q-2023 b/profiles/updates/1Q-2023 index cc57a4ee2fae..215e86c188a2 100644 --- a/profiles/updates/1Q-2023 +++ b/profiles/updates/1Q-2023 @@ -19,3 +19,4 @@ move dev-python/setuptools_scm dev-python/setuptools-scm move dev-python/netcdf4-python dev-python/netcdf4 move dev-python/jupyterlab_server dev-python/jupyterlab-server move dev-python/jupyter_server_ydoc dev-python/jupyter-server-ydoc +move app-text/pytextile dev-python/textile -- cgit v1.2.3-65-gdbad