diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-12-14 13:17:46 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-12-14 13:28:56 +0100 |
commit | ae57b819c699cde5779b0dc03f95c445e015a524 (patch) | |
tree | d6fccd8e6ca094f8e8f26092d067514213157c8d /dev-python | |
parent | dev-python/pyenchant: Bump to 3.2.0 (diff) | |
download | gentoo-ae57b819c699cde5779b0dc03f95c445e015a524.tar.gz gentoo-ae57b819c699cde5779b0dc03f95c445e015a524.tar.bz2 gentoo-ae57b819c699cde5779b0dc03f95c445e015a524.zip |
dev-python/dataclasses: Bump to 0.8
Closes: https://bugs.gentoo.org/759943
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/dataclasses/Manifest | 1 | ||||
-rw-r--r-- | dev-python/dataclasses/dataclasses-0.8.ebuild | 26 |
2 files changed, 27 insertions, 0 deletions
diff --git a/dev-python/dataclasses/Manifest b/dev-python/dataclasses/Manifest index 558e8a943c25..9610838fc5fe 100644 --- a/dev-python/dataclasses/Manifest +++ b/dev-python/dataclasses/Manifest @@ -1 +1,2 @@ DIST dataclasses-0.7.tar.gz 35690 BLAKE2B 8d3c60d1e2ad4c9ceb3c502fa74f8fdae75717e52c698984b6def96e867cae633864de711856a69992df6a207617d17d7116f5e0daa7d757076dc8b97d7e0e9b SHA512 ff921237a99bac21e091ff253824eb07eb09be7e7ec02b869da9c68c35141fc1bee526b3d2942963bac7762827438ea8fdc89fa72404991b78d1d063a3c18661 +DIST dataclasses-0.8.tar.gz 36581 BLAKE2B fb4cad844f00157a8affc85a0c5d949d7d44fd67ca8083262247af46d93be189628c4ab7b37d34dea983059615603342d50d8b9d0ab75f5365463a337d312b6a SHA512 81b27dd10077084ca82b0a3cbbcee428a5c5cb2e6ade5de46a39731507c2d6f93f9038b704e6555c850044683516a0d130b95a14c91881d04b0bd2c496ca8d6a diff --git a/dev-python/dataclasses/dataclasses-0.8.ebuild b/dev-python/dataclasses/dataclasses-0.8.ebuild new file mode 100644 index 000000000000..3637681c4e08 --- /dev/null +++ b/dev-python/dataclasses/dataclasses-0.8.ebuild @@ -0,0 +1,26 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# this is a backport. do not add extra impls +PYTHON_COMPAT=( python3_6 ) +inherit distutils-r1 + +DESCRIPTION="A backport of the dataclasses module for Python 3.6" +HOMEPAGE=" + https://pypi.org/project/dataclasses/ + https://github.com/ericvsmith/dataclasses" +SRC_URI=" + mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +src_test() { + cd test || die + distutils-r1_src_test +} + +distutils_enable_tests unittest |