mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-28 09:58:08 -07:00
dev-python/dataclasses: New package
A backport of dataclasses module from Python 3.7, needed by wsproto. Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
1
dev-python/dataclasses/Manifest
Normal file
1
dev-python/dataclasses/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST dataclasses-0.7.tar.gz 35690 BLAKE2B 8d3c60d1e2ad4c9ceb3c502fa74f8fdae75717e52c698984b6def96e867cae633864de711856a69992df6a207617d17d7116f5e0daa7d757076dc8b97d7e0e9b SHA512 ff921237a99bac21e091ff253824eb07eb09be7e7ec02b869da9c68c35141fc1bee526b3d2942963bac7762827438ea8fdc89fa72404991b78d1d063a3c18661
|
||||
25
dev-python/dataclasses/dataclasses-0.7.ebuild
Normal file
25
dev-python/dataclasses/dataclasses-0.7.ebuild
Normal file
@@ -0,0 +1,25 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
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="~amd64 ~x86"
|
||||
|
||||
src_test() {
|
||||
cd test || die
|
||||
distutils-r1_src_test
|
||||
}
|
||||
|
||||
distutils_enable_tests unittest
|
||||
7
dev-python/dataclasses/metadata.xml
Normal file
7
dev-python/dataclasses/metadata.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user