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/py-ubjson/
Date: Thu, 19 May 2022 15:23:50
Message-Id: 1652973812.a2f99eed270342dba558c4dd7d0a9959cdc4639a.mgorny@gentoo
1 commit: a2f99eed270342dba558c4dd7d0a9959cdc4639a
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 19 14:31:33 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu May 19 15:23:32 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2f99eed
7
8 dev-python/py-ubjson: Use PEP517 build
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/py-ubjson/py-ubjson-0.16.1-r1.ebuild | 26 +++++++++++++++++++++++++
13 1 file changed, 26 insertions(+)
14
15 diff --git a/dev-python/py-ubjson/py-ubjson-0.16.1-r1.ebuild b/dev-python/py-ubjson/py-ubjson-0.16.1-r1.ebuild
16 new file mode 100644
17 index 000000000000..f3f5e5f2fdee
18 --- /dev/null
19 +++ b/dev-python/py-ubjson/py-ubjson-0.16.1-r1.ebuild
20 @@ -0,0 +1,26 @@
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} )
28 +
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="Universal Binary JSON encoder/decoder"
32 +HOMEPAGE="
33 + https://github.com/Iotic-Labs/py-ubjson/
34 + https://pypi.org/project/py-ubjson/
35 +"
36 +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
37 +
38 +LICENSE="Apache-2.0"
39 +SLOT="0"
40 +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux"
41 +
42 +distutils_enable_tests unittest
43 +
44 +python_test() {
45 + eunittest -s test
46 +}