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/munch/files/, dev-python/munch/
Date: Fri, 24 Jun 2022 10:21:49
Message-Id: 1656066099.715345b04b9827e8a27baee425ad694d145cf4ed.mgorny@gentoo
1 commit: 715345b04b9827e8a27baee425ad694d145cf4ed
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 24 09:46:56 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 24 10:21:39 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=715345b0
7
8 dev-python/munch: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 .../munch/files/munch-2.5.0-revert-pbr.patch | 39 ----------------------
13 dev-python/munch/munch-2.5.0-r1.ebuild | 32 ------------------
14 2 files changed, 71 deletions(-)
15
16 diff --git a/dev-python/munch/files/munch-2.5.0-revert-pbr.patch b/dev-python/munch/files/munch-2.5.0-revert-pbr.patch
17 deleted file mode 100644
18 index 450020cc2c19..000000000000
19 --- a/dev-python/munch/files/munch-2.5.0-revert-pbr.patch
20 +++ /dev/null
21 @@ -1,39 +0,0 @@
22 -diff --git a/setup.py b/setup.py
23 -index 31f229c..9046e38 100644
24 ---- a/setup.py
25 -+++ b/setup.py
26 -@@ -1,9 +1,29 @@
27 --from setuptools import setup
28 --
29 -+from setuptools import setup, find_packages
30 -
31 - setup(
32 -- setup_requires=['pbr>=3.0', 'setuptools>=17.1'],
33 -- pbr=True,
34 -- long_description_content_type='text/markdown; charset=UTF-8',
35 -+ name="munch",
36 -+ version=__version__,
37 -+ description="A dot-accessible dictionary (a la JavaScript objects).",
38 -+ url="http://github.com/Infinidat/munch",
39 -+ author="Rotem Yaari",
40 -+ author_email="vmalloc@×××××.com",
41 -+ install_requires=[
42 -+ 'six',
43 -+ ],
44 -+ packages=find_packages(exclude=["tests"]),
45 - keywords=['munch', 'dict', 'mapping', 'container', 'collection'],
46 -+ classifiers=[
47 -+ 'Development Status :: 5 - Production/Stable',
48 -+ 'Intended Audience :: Developers',
49 -+ 'Operating System :: OS Independent',
50 -+ 'Programming Language :: Python',
51 -+ "Programming Language :: Python :: 2.7",
52 -+ "Programming Language :: Python :: 3.5",
53 -+ "Programming Language :: Python :: 3.6",
54 -+ 'Topic :: Software Development',
55 -+ 'Topic :: Software Development :: Libraries',
56 -+ 'Topic :: Utilities',
57 -+ 'License :: OSI Approved :: MIT License',
58 -+ ],
59 -+ license='MIT',
60 - )
61
62 diff --git a/dev-python/munch/munch-2.5.0-r1.ebuild b/dev-python/munch/munch-2.5.0-r1.ebuild
63 deleted file mode 100644
64 index ef1adba8f2dc..000000000000
65 --- a/dev-python/munch/munch-2.5.0-r1.ebuild
66 +++ /dev/null
67 @@ -1,32 +0,0 @@
68 -# Copyright 1999-2022 Gentoo Authors
69 -# Distributed under the terms of the GNU General Public License v2
70 -
71 -EAPI=7
72 -PYTHON_COMPAT=( python3_{8..10} pypy3 )
73 -
74 -inherit distutils-r1
75 -
76 -DESCRIPTION="A dot-accessible dictionary (a la JavaScript objects)"
77 -HOMEPAGE="https://github.com/Infinidat/munch"
78 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
79 -
80 -LICENSE="MIT"
81 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
82 -SLOT="0"
83 -
84 -BDEPEND="
85 - dev-python/six[${PYTHON_USEDEP}]
86 - test? ( >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] )
87 -"
88 -
89 -PATCHES=(
90 - "${FILESDIR}/munch-2.5.0-revert-pbr.patch"
91 -)
92 -
93 -distutils_enable_tests pytest
94 -
95 -python_prepare_all() {
96 - distutils-r1_python_prepare_all
97 -
98 - sed -i "s:__version__:'${PV}':" setup.py || die
99 -}