Merge pull request #321 from flatcar-linux/jepio/import-dev-python-distro

dev-python/distro: Import from gentoo
This commit is contained in:
Jeremi Piotrowski 2022-04-20 18:03:47 +02:00 committed by GitHub
commit 7d0a821bae
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST distro-1.7.0.tar.gz 58164 BLAKE2B 22bbd2daf9cac589530eac9a58767db6b9e389b77719516f7386a9377b49ba4c9b696165701acc42366b760b9a632c70a2243a58c12a367fef2a0a770a4aea44 SHA512 14516ecab33ee8c57c35a8279eb515fd699031fabac7d8886092ea98696797d55503179870aeb513a85e1a66c7e69f2f60bb6ea9fc935be975cb5135e1917ecc

View File

@ -0,0 +1,20 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8..10} pypy3 )
inherit distutils-r1
DESCRIPTION="Reliable machine-readable Linux distribution information for Python"
HOMEPAGE="
https://distro.readthedocs.io/en/latest/
https://pypi.org/project/distro/
https://github.com/python-distro/distro/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
SLOT="0"
LICENSE="Apache-2.0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
distutils_enable_tests pytest