Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pydecomp/
Date: Wed, 22 Sep 2021 07:39:33
Message-Id: 1632296361.4d86f6f91df18602616bdde9da864ee933f54942.arthurzam@gentoo
1 commit: 4d86f6f91df18602616bdde9da864ee933f54942
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 22 07:36:28 2021 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 22 07:39:21 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d86f6f9
7
8 dev-python/pydecomp: enable py3.10, EAPI=8, small cleanup
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/pydecomp/metadata.xml | 1 +
13 dev-python/pydecomp/pydecomp-0.3-r1.ebuild | 18 +++---------------
14 dev-python/pydecomp/pydecomp-9999.ebuild | 27 ++++-----------------------
15 3 files changed, 8 insertions(+), 38 deletions(-)
16
17 diff --git a/dev-python/pydecomp/metadata.xml b/dev-python/pydecomp/metadata.xml
18 index 4f1b4fd4b79..dbf942eb821 100644
19 --- a/dev-python/pydecomp/metadata.xml
20 +++ b/dev-python/pydecomp/metadata.xml
21 @@ -13,5 +13,6 @@
22 </longdescription>
23 <upstream>
24 <remote-id type="github">dol-sen/pyDeComp</remote-id>
25 + <bugs-to>https://github.com/dol-sen/pyDeComp/issues</bugs-to>
26 </upstream>
27 </pkgmetadata>
28
29 diff --git a/dev-python/pydecomp/pydecomp-0.3-r1.ebuild b/dev-python/pydecomp/pydecomp-0.3-r1.ebuild
30 index d2be8da9d37..89859791adb 100644
31 --- a/dev-python/pydecomp/pydecomp-0.3-r1.ebuild
32 +++ b/dev-python/pydecomp/pydecomp-0.3-r1.ebuild
33 @@ -1,12 +1,12 @@
34 # Copyright 1999-2021 Gentoo Authors
35 # Distributed under the terms of the GNU General Public License v2
36
37 -EAPI=6
38 +EAPI=8
39
40 -PYTHON_COMPAT=( python3_{7,8,9} )
41 +PYTHON_COMPAT=( python3_{8..10} )
42 DISTUTILS_USE_SETUPTOOLS=no
43
44 -inherit distutils-r1 python-r1
45 +inherit distutils-r1
46
47 if [[ ${PV} == "9999" ]] ; then
48 EGIT_BRANCH="master"
49 @@ -23,15 +23,3 @@ HOMEPAGE="https://github.com/dol-sen/pyDeComp"
50
51 LICENSE="BSD"
52 SLOT="0"
53 -IUSE=""
54 -
55 -python_install_all() {
56 - distutils-r1_python_install_all
57 -}
58 -
59 -pkg_postinst() {
60 - einfo
61 - einfo "Please file any enhancement requests, or bugs"
62 - einfo "at https://github.com/dol-sen/pyDeComp/issues"
63 - einfo "I am also on IRC @ #gentoo-ci of the Libera.Chat network"
64 -}
65
66 diff --git a/dev-python/pydecomp/pydecomp-9999.ebuild b/dev-python/pydecomp/pydecomp-9999.ebuild
67 index 1fbc9bfe62d..007ab948ae8 100644
68 --- a/dev-python/pydecomp/pydecomp-9999.ebuild
69 +++ b/dev-python/pydecomp/pydecomp-9999.ebuild
70 @@ -1,12 +1,12 @@
71 # Copyright 1999-2021 Gentoo Authors
72 # Distributed under the terms of the GNU General Public License v2
73
74 -EAPI=6
75 +EAPI=8
76
77 -PYTHON_COMPAT=( python3_{7,8,9} )
78 +PYTHON_COMPAT=( python3_{8..10} )
79 DISTUTILS_USE_SETUPTOOLS=no
80
81 -inherit distutils-r1 python-r1
82 +inherit distutils-r1
83
84 if [[ ${PV} == "9999" ]] ; then
85 EGIT_BRANCH="master"
86 @@ -14,7 +14,7 @@ if [[ ${PV} == "9999" ]] ; then
87 inherit git-r3
88 else
89 SRC_URI="https://dev.gentoo.org/~dolsen/releases/${PN}/pyDeComp-${PV}.tar.gz -> ${P}.tar.gz"
90 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
91 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
92 S="${WORKDIR}/pyDeComp-${PV}"
93 fi
94
95 @@ -23,22 +23,3 @@ HOMEPAGE="https://github.com/dol-sen/pyDeComp"
96
97 LICENSE="BSD"
98 SLOT="0"
99 -IUSE=""
100 -
101 -python_install_all() {
102 - distutils-r1_python_install_all
103 -}
104 -
105 -pkg_postinst() {
106 - einfo
107 - einfo "This is new software."
108 - einfo "The API's it installs should be considered unstable"
109 - einfo "and are subject to change."
110 - einfo
111 - einfo "Please file any enhancement requests, or bugs"
112 - einfo "at https://github.com/dol-sen/pyDeComp/issues"
113 - einfo "I am also on IRC @ #gentoo-ci of the Libera.Chat network"
114 - einfo
115 - ewarn "There may be some python 3 compatibility issues still."
116 - ewarn "Please help debug/fix/report them in github or bugzilla."
117 -}