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/flit/
Date: Sun, 01 Aug 2021 09:39:47
Message-Id: 1627810775.0ebeafe5cae26a6599da337f2a79af02904acd84.mgorny@gentoo
1 commit: 0ebeafe5cae26a6599da337f2a79af02904acd84
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 1 09:37:38 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 1 09:39:35 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ebeafe5
7
8 dev-python/flit: Bump to 3.3.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/flit/Manifest | 1 +
13 dev-python/flit/flit-3.2.0.ebuild | 15 ++++-----------
14 .../flit/{flit-3.2.0.ebuild => flit-3.3.0.ebuild} | 17 +++++------------
15 3 files changed, 10 insertions(+), 23 deletions(-)
16
17 diff --git a/dev-python/flit/Manifest b/dev-python/flit/Manifest
18 index b98e888eed1..84ed16c295b 100644
19 --- a/dev-python/flit/Manifest
20 +++ b/dev-python/flit/Manifest
21 @@ -1,2 +1,3 @@
22 DIST flit-2.1.0.tar.gz 106459 BLAKE2B db51d8cc119ae8aa5f8d0ac1655cd29390065567391cbdf06ca7dbb98a79e96a6d8f318273c2f9a58aaf549090a903360701a844ac071d15304a21ea54052a91 SHA512 0fcbfaa1e5e83216a5c98cc87b0a8f2aa17e2c184ec3f09c7dd0dd5e695311be62344ac4f101cb71f87390513496f8c1152a2cd8d7363202f7696ee002f07a55
23 DIST flit-3.2.0.tar.gz 115192 BLAKE2B dda4b9f5b56b9868d737516841d7fc49c0e97ef8a71f9f0628112f68c3dadae89a87aef56cebfe8ec3762af5970d206fe462add146d52b3893fb8852fd7f9625 SHA512 1db7c4118fe1d70d1e318db3bc282747d6cc3f3b626ad68420fa056e585caad9ff0a3f230e17c919ea260ddeb6330effc4bbed8b30d11ed7b27e78d9d7af0445
24 +DIST flit-3.3.0.tar.gz 117809 BLAKE2B 8ad74f70406e41b35b44886b145b52d83fc30d0a1395bf711807da2ae3974ae8606113e4bcd556694854c48c8c01c3c03b4a1021c7cc3e33cce0e99a5abbb9ea SHA512 904889298aab581640e8323fd68c83d753ea97af0ed1b8f438f192d84d09ced83718440a03d23864885fcf966de9665c3046f0f3a1b1d4170b2decf8430ff006
25
26 diff --git a/dev-python/flit/flit-3.2.0.ebuild b/dev-python/flit/flit-3.2.0.ebuild
27 index 289ae980771..4ce07661eaf 100644
28 --- a/dev-python/flit/flit-3.2.0.ebuild
29 +++ b/dev-python/flit/flit-3.2.0.ebuild
30 @@ -1,9 +1,10 @@
31 # Copyright 2019-2021 Gentoo Authors
32 # Distributed under the terms of the GNU General Public License v2
33
34 -EAPI=7
35 +EAPI=8
36
37 -PYTHON_COMPAT=( python3_{7..10} pypy3 )
38 +DISTUTILS_USE_SETUPTOOLS=pyproject.toml
39 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
40 inherit distutils-r1
41
42 DESCRIPTION="Simplified packaging of Python modules"
43 @@ -13,7 +14,6 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
44 LICENSE="BSD"
45 SLOT="0"
46 KEYWORDS="~amd64 ~x86"
47 -IUSE="test"
48
49 RDEPEND="
50 >=dev-python/flit_core-3.2.0[${PYTHON_USEDEP}]
51 @@ -22,7 +22,7 @@ RDEPEND="
52 dev-python/requests_download[${PYTHON_USEDEP}]
53 dev-python/toml[${PYTHON_USEDEP}]
54 "
55 -BDEPEND="${RDEPEND}
56 +BDEPEND="
57 sys-apps/grep
58 sys-apps/findutils
59 test? (
60 @@ -39,10 +39,3 @@ distutils_enable_tests pytest
61 distutils_enable_sphinx doc \
62 dev-python/sphinxcontrib-github-alt \
63 dev-python/pygments-github-lexers \
64 -
65 -python_prepare_all() {
66 - printf -- "from setuptools import setup, find_packages\nsetup(name='%s',version='%s',%s)" \
67 - "${PN}" "${PV}" "packages=find_packages(exclude=['tests'])" > setup.py || die
68 -
69 - distutils-r1_python_prepare_all
70 -}
71
72 diff --git a/dev-python/flit/flit-3.2.0.ebuild b/dev-python/flit/flit-3.3.0.ebuild
73 similarity index 70%
74 copy from dev-python/flit/flit-3.2.0.ebuild
75 copy to dev-python/flit/flit-3.3.0.ebuild
76 index 289ae980771..b7434f5ec52 100644
77 --- a/dev-python/flit/flit-3.2.0.ebuild
78 +++ b/dev-python/flit/flit-3.3.0.ebuild
79 @@ -1,9 +1,10 @@
80 # Copyright 2019-2021 Gentoo Authors
81 # Distributed under the terms of the GNU General Public License v2
82
83 -EAPI=7
84 +EAPI=8
85
86 -PYTHON_COMPAT=( python3_{7..10} pypy3 )
87 +DISTUTILS_USE_SETUPTOOLS=pyproject.toml
88 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
89 inherit distutils-r1
90
91 DESCRIPTION="Simplified packaging of Python modules"
92 @@ -13,16 +14,15 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
93 LICENSE="BSD"
94 SLOT="0"
95 KEYWORDS="~amd64 ~x86"
96 -IUSE="test"
97
98 RDEPEND="
99 - >=dev-python/flit_core-3.2.0[${PYTHON_USEDEP}]
100 + >=dev-python/flit_core-3.3.0[${PYTHON_USEDEP}]
101 dev-python/intreehooks[${PYTHON_USEDEP}]
102 dev-python/requests[${PYTHON_USEDEP}]
103 dev-python/requests_download[${PYTHON_USEDEP}]
104 dev-python/toml[${PYTHON_USEDEP}]
105 "
106 -BDEPEND="${RDEPEND}
107 +BDEPEND="
108 sys-apps/grep
109 sys-apps/findutils
110 test? (
111 @@ -39,10 +39,3 @@ distutils_enable_tests pytest
112 distutils_enable_sphinx doc \
113 dev-python/sphinxcontrib-github-alt \
114 dev-python/pygments-github-lexers \
115 -
116 -python_prepare_all() {
117 - printf -- "from setuptools import setup, find_packages\nsetup(name='%s',version='%s',%s)" \
118 - "${PN}" "${PV}" "packages=find_packages(exclude=['tests'])" > setup.py || die
119 -
120 - distutils-r1_python_prepare_all
121 -}