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/coreschema/
Date: Thu, 08 Jul 2021 06:55:40
Message-Id: 1625727321.5d33d935155223800a2429e4d01ca25917dc1d51.mgorny@gentoo
1 commit: 5d33d935155223800a2429e4d01ca25917dc1d51
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 8 06:29:29 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 8 06:55:21 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d33d935
7
8 dev-python/coreschema: Port to py3.10, enable tests
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/coreschema/Manifest | 2 +-
13 dev-python/coreschema/coreschema-0.0.4.ebuild | 15 +++++++++------
14 2 files changed, 10 insertions(+), 7 deletions(-)
15
16 diff --git a/dev-python/coreschema/Manifest b/dev-python/coreschema/Manifest
17 index 49890493f06..dde371908d5 100644
18 --- a/dev-python/coreschema/Manifest
19 +++ b/dev-python/coreschema/Manifest
20 @@ -1 +1 @@
21 -DIST coreschema-0.0.4.tar.gz 10974 BLAKE2B 8bddafea9eb82140cdf2b2cd40ffc31dd4a0457f8ca216986807657a5021f7a4319f1e3db27caf7d471f8617f6f0c3a6d79ebfe7e0285bc9a6627f93d6efa760 SHA512 21a35b29cd0bb96dacaeeb0bd0faaaa4ee8875bf9639b431b59f17c41ee4829173932a6b35760caa3b46a0ec39ca173fe896b26b740fe97df36943270bc2bd3d
22 +DIST python-coreschema-0.0.4.tar.gz 21905 BLAKE2B 1afe09038761809fa0e12d13fb89884760d4aff325a4bbdac104c03648856f8d50b562fc00a8509fcc75f962918f33d89017fae0a6d0335def4d6b77ee9aacd9 SHA512 28badbae07284fb4dbd3f01f613edda1202902115fb166bd95bbac549d398c9e02548b473524d3b530a42319a99d7e55e92bf54269827a9812249cfb285670c3
23
24 diff --git a/dev-python/coreschema/coreschema-0.0.4.ebuild b/dev-python/coreschema/coreschema-0.0.4.ebuild
25 index c9e4efbc99e..9dd5057cd50 100644
26 --- a/dev-python/coreschema/coreschema-0.0.4.ebuild
27 +++ b/dev-python/coreschema/coreschema-0.0.4.ebuild
28 @@ -1,20 +1,23 @@
29 # Copyright 1999-2020 Gentoo Authors
30 # Distributed under the terms of the GNU General Public License v2
31
32 -EAPI=7
33 -
34 -PYTHON_COMPAT=( python3_{7..9} )
35 +EAPI=8
36
37 +PYTHON_COMPAT=( python3_{8..10} )
38 inherit distutils-r1
39
40 +MY_P=python-${P}
41 DESCRIPTION="Core Schema"
42 HOMEPAGE="https://github.com/core-api/python-coreschema"
43 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
44 +SRC_URI="
45 + https://github.com/core-api/python-coreschema/archive/${PV}.tar.gz
46 + -> ${MY_P}.tar.gz"
47 +S=${WORKDIR}/${MY_P}
48
49 LICENSE="BSD"
50 SLOT="0"
51 KEYWORDS="~amd64"
52
53 RDEPEND="dev-python/jinja[${PYTHON_USEDEP}]"
54 -DEPEND="${RDEPEND}
55 - dev-python/setuptools[${PYTHON_USEDEP}]"
56 +
57 +distutils_enable_tests pytest