summaryrefslogtreecommitdiff
path: root/dev-python/genshi
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
committerV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
commit752d6256e5204b958b0ef7905675a940b5e9172f (patch)
tree330d16e6362a49cbed8875a777fe641a43376cd3 /dev-python/genshi
parent0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff)
gentoo resync : 12.05.2022
Diffstat (limited to 'dev-python/genshi')
-rw-r--r--dev-python/genshi/Manifest2
-rw-r--r--dev-python/genshi/genshi-0.7.7.ebuild41
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/genshi/Manifest b/dev-python/genshi/Manifest
index 1b82239fe90c..e89824627c40 100644
--- a/dev-python/genshi/Manifest
+++ b/dev-python/genshi/Manifest
@@ -1,3 +1,5 @@
DIST Genshi-0.7.6.tar.gz 268913 BLAKE2B c54930023c4cd45e24f44baa62f3cc3fe887c5bfd5feb9f7c694cea9bd500cd8c0cea0ed7a60035fb58de9b933199f54ada2a14edff9f5a1b1f63203d10ac7c8 SHA512 a05e82b2b1b9321153a202e5926a26795ebc7c56ee13b8c6da197007a00711efcc7f8ebfb759446c4c2cb99e7e92a6f689576f9ef1f766aa42e0dab86fd5e335
+DIST Genshi-0.7.7.tar.gz 267206 BLAKE2B 0bad4b26fbfda27572e78f87af6093c87d738ad6fdf2beea5e8b0b21b3f5245a4e239bbfbad63e71e73f6588e7cae97f2b3bc7295fa30ad7a203a7ceff7074c9 SHA512 b0a3dee68523292f0672a180c5f2cfbdf48205d82286359b9fac9f668cbc2806c649d1e158d6fb8ead5b1cc5cd44eefe9d1cd79077f96925b8d24dd8e746b40f
EBUILD genshi-0.7.6.ebuild 877 BLAKE2B 45ea1c9cba01dcee34fd3a5ffcde29bea2dcafc4b59ce2f583a6921870060b57ee1059b033e96c3bb59e2bf719f620813a7cd96c01d857c32b05588fec3cbbc4 SHA512 1cda1d5b91ac45c8c6a76864db04f29b428fc761e150cf9feda91af96df8244f7e85da416751075ddcf62170a6251be1396353ccc097c6b93c31cc89886f97cd
+EBUILD genshi-0.7.7.ebuild 925 BLAKE2B 40be3ec7166cbe120e0bc016835e32b8fc9fc8d6ff6ccc826be90e72dbd550f416e3d459eda3093c66ad1b593bf883ea3313764c982995f6e18333a321f70493 SHA512 2678d9ce430bc5b00af7c90b1a9b63173b4263c4f1bd8f63dfcc732b8c8b2230dea61aa3677a9b292581071e07b83888160ca7f3fc2c89bb1eba11961fde836e
MISC metadata.xml 365 BLAKE2B c5f3b55444eb424fc0ec15f0f19eef39a31c2c5e900fab7a06fe7bade29893ddb59baf4fa7f60621017a400dc7004dc093d124e1d3366df2663c0b714e31c8cc SHA512 1914d0acf5d6c517ff0198c827f606acc4124e834c306312d49d42bb729bb82b80ae6c98f3ac0797178eba3beb2c437a10665a23a843d0d3efbd148250a189dd
diff --git a/dev-python/genshi/genshi-0.7.7.ebuild b/dev-python/genshi/genshi-0.7.7.ebuild
new file mode 100644
index 000000000000..5b2d9b7bc0d6
--- /dev/null
+++ b/dev-python/genshi/genshi-0.7.7.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Python toolkit for stream-based generation of output for the web"
+HOMEPAGE="https://genshi.edgewall.org/ https://pypi.org/project/Genshi/"
+SRC_URI="mirror://pypi/G/${PN^}/${P^}.tar.gz"
+S="${WORKDIR}/${P^}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+IUSE="doc examples test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+ test? (
+ dev-python/six[${PYTHON_USEDEP}]
+ )
+"
+
+python_test() {
+ "${EPYTHON}" -m unittest -v genshi.tests.suite || die
+}
+
+python_install_all() {
+ if use doc; then
+ dodoc doc/*.txt
+ fi
+ if use examples; then
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+ distutils-r1_python_install_all
+}