Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/chardet/
Date: Wed, 11 May 2022 20:11:17
Message-Id: 1652299867.9ab4456385a6cc90d2f0481e6b975dfa1f846034.mgorny@gentoo
1 commit: 9ab4456385a6cc90d2f0481e6b975dfa1f846034
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 11 20:01:01 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed May 11 20:11:07 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ab44563
7
8 dev-python/chardet: EAPI 8, PEP517
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/chardet/chardet-4.0.0-r1.ebuild | 31 ++++++++++++++++++++++++++++++
13 1 file changed, 31 insertions(+)
14
15 diff --git a/dev-python/chardet/chardet-4.0.0-r1.ebuild b/dev-python/chardet/chardet-4.0.0-r1.ebuild
16 new file mode 100644
17 index 000000000000..428ca399a801
18 --- /dev/null
19 +++ b/dev-python/chardet/chardet-4.0.0-r1.ebuild
20 @@ -0,0 +1,31 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +DISTUTILS_USE_PEP517=setuptools
27 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
28 +
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="Universal encoding detector"
32 +HOMEPAGE="
33 + https://github.com/chardet/chardet/
34 + https://pypi.org/project/chardet/
35 +"
36 +SRC_URI="
37 + https://github.com/chardet/chardet/archive/${PV}.tar.gz
38 + -> ${P}.tar.gz
39 +"
40 +
41 +LICENSE="LGPL-2.1"
42 +SLOT="0"
43 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
44 +
45 +BDEPEND="
46 + test? (
47 + dev-python/hypothesis[${PYTHON_USEDEP}]
48 + )
49 +"
50 +
51 +distutils_enable_tests pytest