summaryrefslogtreecommitdiff
path: root/dev-python/speaklater
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
commit0f558761aa2dee1017b4751e4017205e015a9560 (patch)
tree037df795519468a25d9362b4e95cdaeb84eb1cf9 /dev-python/speaklater
parent752d6256e5204b958b0ef7905675a940b5e9172f (diff)
gentoo resync : 29.12.2022
Diffstat (limited to 'dev-python/speaklater')
-rw-r--r--dev-python/speaklater/Manifest6
-rw-r--r--dev-python/speaklater/metadata.xml2
-rw-r--r--dev-python/speaklater/speaklater-1.3-r1.ebuild28
-rw-r--r--dev-python/speaklater/speaklater-1.4.ebuild24
4 files changed, 28 insertions, 32 deletions
diff --git a/dev-python/speaklater/Manifest b/dev-python/speaklater/Manifest
index 782cb6ea4c0f..2bde8f02b949 100644
--- a/dev-python/speaklater/Manifest
+++ b/dev-python/speaklater/Manifest
@@ -1,3 +1,3 @@
-DIST speaklater-1.3.tar.gz 3582 BLAKE2B cddf87583670ae185336b73631b28da3dc26b74b75df82224da23df6c528ee074ca31c95d5fbe2971eb87c50480be022493164de62f02f1987a5768d7ae69092 SHA512 ae137d94c497cd4214e230c8906f3ba40e092f248206d37b61de2571567e39e27b7f58bcf2145bd0c81c195c3c5ed03fc0428e0a50c657c5c909ec82719454ef
-EBUILD speaklater-1.3-r1.ebuild 697 BLAKE2B dacb7e253bbe84f19ad2fc8410f3757dc8e4aa6663fab87f3489fbaa79cfa5cc6e1ff636f9191ea95164531c6afd7641d85814cdb8662952cf13f4807d92a6ff SHA512 aa33d5dfaac18691da36df51b43d4a5b9e83c43eab0b780d21396b8e70d1162ca0dc367dc56b8cbc877df11e2acfdd2f55f7f2db8656d3c5fb78cfa81bc42125
-MISC metadata.xml 456 BLAKE2B 270cc0b048d307dc0ca38d60e0c12757f3a6475827bb71f6b02d38dd4018d4e05be80f0c167a86d1b4e156d1bbb557d9426e33d26d36bb5fe1ddc2a2ab0708dd SHA512 edec8125ab7219b122b44918f15b168cc2edbfc9887d457ed50f4b4fa588f5bc67400e4a5a661623388e437a42d75a08cfa93738a8ce1615dc7c1f01ce2513e1
+DIST speaklater3-1.4.tar.gz 4309 BLAKE2B 6ba32926a81c978c7d001d0ebe39c74779e05dd0275ee4f0b9d06fb9cc8bdd8502417ff6b9adefd5df3d6030a2f1b26d461ba2a8afcff383af294f634a68dec3 SHA512 7603bc5852b870a9ada6d730857de32ff47b842dabe8cb2310bbcdefceaf3bc5021a02cab058e646ba38d5a46e831ad9ec7bb4db75f91e07e999a9917ac24251
+EBUILD speaklater-1.4.ebuild 539 BLAKE2B fa30968f481d2245297ebbd2574a174836be746d1687ca5d9e375931ee3b0269cc2b5d4e175322716ba048979e31ef99f8e1c042146022a73700aa907245cf37 SHA512 aa695620f3b036b713428631d0a7e341f0b04ec9888b4de244f9200d6206148278354ac97d1f25ceabd66f29fb5b129869a4cb9ad94c297d59d4e4cf3e0e34b8
+MISC metadata.xml 437 BLAKE2B a8db95c457da90706954974ef48de3df9fe61f6dd0b40e90d932364e742906fa9d5d10b5c594c42eb39f4ae41376d68a0057f1a39cf79b826ffdaabf116af8f9 SHA512 1720c8aad1f6f4653f855ac655853c101101456870cb9544827dac72c38d2db340b2b3b38e200fd0e1962533e66bc1d959b7733345f92784742a97797cc3fc56
diff --git a/dev-python/speaklater/metadata.xml b/dev-python/speaklater/metadata.xml
index e1dff1b30dd8..ecc091ea70c4 100644
--- a/dev-python/speaklater/metadata.xml
+++ b/dev-python/speaklater/metadata.xml
@@ -7,7 +7,7 @@
</maintainer>
<upstream>
<remote-id type="pypi">speaklater</remote-id>
+ <remote-id type="pypi">speaklater3</remote-id>
<remote-id type="github">mitsuhiko/speaklater</remote-id>
- <bugs-to>https://github.com/mitsuhiko/speaklater/issues</bugs-to>
</upstream>
</pkgmetadata>
diff --git a/dev-python/speaklater/speaklater-1.3-r1.ebuild b/dev-python/speaklater/speaklater-1.3-r1.ebuild
deleted file mode 100644
index d6fc15239d81..000000000000
--- a/dev-python/speaklater/speaklater-1.3-r1.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-inherit distutils-r1
-
-DESCRIPTION="Lazy strings for Python"
-HOMEPAGE="https://github.com/mitsuhiko/speaklater"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~riscv x86"
-
-python_configure_all() {
- # https://github.com/mitsuhiko/speaklater/issues/2
- 2to3 -n -w --no-diffs ${PN}.py || die
- 2to3 -d -n -w --no-diffs ${PN}.py || die
- # fix unicode in doctests
- sed -ri "s/(^ {4}l?)u'/\1'/" ${PN}.py || die
-}
-
-python_test() {
- "${EPYTHON}" -m doctest -v speaklater.py ||
- die "tests failed with ${EPYTHON}"
-}
diff --git a/dev-python/speaklater/speaklater-1.4.ebuild b/dev-python/speaklater/speaklater-1.4.ebuild
new file mode 100644
index 000000000000..cedfff974ec1
--- /dev/null
+++ b/dev-python/speaklater/speaklater-1.4.ebuild
@@ -0,0 +1,24 @@
+# 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..11} )
+
+inherit distutils-r1
+
+MY_P=speaklater3-${PV}
+DESCRIPTION="Lazy strings for Python"
+HOMEPAGE="https://pypi.org/project/speaklater3/"
+SRC_URI="mirror://pypi/s/speaklater3/${MY_P}.tar.gz"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ~riscv x86"
+
+python_test() {
+ "${EPYTHON}" -m doctest -v speaklater.py ||
+ die "tests failed with ${EPYTHON}"
+}