summaryrefslogtreecommitdiff
path: root/dev-python/pytz_deprecation_shim
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-02-02 01:39:05 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-02-02 01:39:05 +0000
commitfcc5224904648a8e6eb528d7603154160a20022f (patch)
tree3bfce096b38a9cea8eed13fc70c1526c456e9abd /dev-python/pytz_deprecation_shim
parent2fd57282f0262ca084e05b0f2c63fbada395d02b (diff)
gentoo resync : 02.02.2022
Diffstat (limited to 'dev-python/pytz_deprecation_shim')
-rw-r--r--dev-python/pytz_deprecation_shim/Manifest3
-rw-r--r--dev-python/pytz_deprecation_shim/pytz_deprecation_shim-0.1.0_p0-r1.ebuild4
-rw-r--r--dev-python/pytz_deprecation_shim/pytz_deprecation_shim-0.1.0_p0-r2.ebuild43
3 files changed, 47 insertions, 3 deletions
diff --git a/dev-python/pytz_deprecation_shim/Manifest b/dev-python/pytz_deprecation_shim/Manifest
index efc1f9ff5e7b..9a7f52a0e2ea 100644
--- a/dev-python/pytz_deprecation_shim/Manifest
+++ b/dev-python/pytz_deprecation_shim/Manifest
@@ -1,3 +1,4 @@
DIST pytz_deprecation_shim-0.1.0.post0.tar.gz 60190 BLAKE2B a6d186ca6fff17a3fb787ad6164fcf45fbac272e6123491a6822699cf54a115c9941f2b1ee3d227f531a0ab1d11846300dc24974611cc1671c77405606704754 SHA512 201eea777f4da9def1b060911da5eaa89652f6716d5608278fdc94a2f67af5ea23a8b667cb181e03d5edd7f0a07f4954047621668f4c2e7bb325dd07f454d0b6
-EBUILD pytz_deprecation_shim-0.1.0_p0-r1.ebuild 1062 BLAKE2B fba38abad2380f361f38d26213948a162fd1160f596522c9f601d783a8f29d762fbf56fa55fb24b5a64e6d1f797d6b5e1827074d339787209e48ab2efbc2b568 SHA512 cca5aceaad23719f54498d30670379cf22a9b2744b12e26e1dd4c502a89209469c8edc13b6a2e7a19895ad88ddb6d8974f73796de00d2176f287bb9d3d411d4c
+EBUILD pytz_deprecation_shim-0.1.0_p0-r1.ebuild 1080 BLAKE2B d244d2241cad244e4ae73b005f7a57d518606b5ea18fcdcea40f40902a92a1ee7fa293501f21763cd8729d529875eddbce487c99d0869ad09c0924c39cad3e0d SHA512 4ab2dcbff93f8782d8bd603a64e34d0071b50a52930d06967e543178cb7e6ea5f6bafdbbac6391cab4e175a318df9807b5eaf1cc5cffcdbaed061940051ccfc6
+EBUILD pytz_deprecation_shim-0.1.0_p0-r2.ebuild 1082 BLAKE2B dd5ba92a746de730df734bc4d47762e50c54f05c1d80f44499f7e5a2015df1ccc7921d180fb3287a89279c6c356782098778c3eba4ecbf2b38ef9d8f7bad93cd SHA512 306a8eda2e426e49d5b9239b9c487898f599f54234420d5cd7f3acc52a0840bc4b4f168392e4bb415f3426b7815644a562ac159276b747b38ffb0aca0b64bb4d
MISC metadata.xml 419 BLAKE2B 2840524ff112ed60eeca8162297a1d4c0c3ecb47a5abaa440d237832f90a823789f07400200d2a0d31b25f6d2484a85d448549f32ccd7b4a1d755ff263c7df7b SHA512 3c75ed2c66ae13d4f67d50f07eb5e17fea8d4f8a3252d3a4d52ebe0c688c9253c61dc065ac6cda6120909e625fc1b6eb74a6f2d7dfc8cf25c8aed075a4f75bbc
diff --git a/dev-python/pytz_deprecation_shim/pytz_deprecation_shim-0.1.0_p0-r1.ebuild b/dev-python/pytz_deprecation_shim/pytz_deprecation_shim-0.1.0_p0-r1.ebuild
index 2eaf520d9ebb..5590af47e64d 100644
--- a/dev-python/pytz_deprecation_shim/pytz_deprecation_shim-0.1.0_p0-r1.ebuild
+++ b/dev-python/pytz_deprecation_shim/pytz_deprecation_shim-0.1.0_p0-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
DISTUTILS_USE_SETUPTOOLS=pyproject.toml
inherit distutils-r1
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
RDEPEND="
$(python_gen_cond_dep '
diff --git a/dev-python/pytz_deprecation_shim/pytz_deprecation_shim-0.1.0_p0-r2.ebuild b/dev-python/pytz_deprecation_shim/pytz_deprecation_shim-0.1.0_p0-r2.ebuild
new file mode 100644
index 000000000000..f8f8fc57155e
--- /dev/null
+++ b/dev-python/pytz_deprecation_shim/pytz_deprecation_shim-0.1.0_p0-r2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2021-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
+
+MY_P=${P/_p/.post}
+
+DESCRIPTION="Shims to make deprecation of pytz easier"
+HOMEPAGE="https://pypi.org/project/pytz-deprecation-shim/ https://github.com/pganssle/pytz-deprecation-shim"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+ $(python_gen_cond_dep '
+ dev-python/backports-zoneinfo[${PYTHON_USEDEP}]
+ ' python3_8 pypy3)
+ sys-libs/timezone-data
+"
+BDEPEND="
+ test? (
+ dev-python/hypothesis[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+ dev-python/toml[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs \
+ dev-python/sphinx_rtd_theme
+
+src_prepare() {
+ # apparently used only as a fallback
+ sed -i -e '/tzdata/d' setup.cfg || die
+ distutils-r1_src_prepare
+}