summaryrefslogtreecommitdiff
path: root/dev-python/munch
diff options
context:
space:
mode:
authorPalica <palica+gitlab@liguros.net>2020-06-23 22:35:08 +0200
committerPalica <palica+gitlab@liguros.net>2020-06-23 22:35:08 +0200
commitecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch)
treeb89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-python/munch
parent1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff)
downloadbaldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz
baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz
baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip
Updating liguros repo
Diffstat (limited to 'dev-python/munch')
-rw-r--r--dev-python/munch/Manifest2
-rw-r--r--dev-python/munch/files/munch-2.5.0-revert-pbr.patch39
-rw-r--r--dev-python/munch/metadata.xml13
-rw-r--r--dev-python/munch/munch-2.3.2.ebuild23
-rw-r--r--dev-python/munch/munch-2.5.0-r1.ebuild32
5 files changed, 109 insertions, 0 deletions
diff --git a/dev-python/munch/Manifest b/dev-python/munch/Manifest
new file mode 100644
index 000000000000..6676b3e1c298
--- /dev/null
+++ b/dev-python/munch/Manifest
@@ -0,0 +1,2 @@
+DIST munch-2.3.2.tar.gz 7598 BLAKE2B 0ff607c4821b675bb0710e185c82135ba031e2ad0e18aae07f8736e102ee73c53a6977155f250ff20e26e87671f8a20ed7bac625bb96625017be047704f63bc6 SHA512 7cbcd79b9506940f88a2090649e5ab6678164b468ed04feebeab8f85c9af861a1a8012aaafc869755c3c7957feefb231bc15426c382c014e82e9b806a879b8e7
+DIST munch-2.5.0.tar.gz 17015 BLAKE2B 17af271ae082a6e5f91781ba48a440f11cbe85ecb81d47ee2bc51910307080e3ba6c95e99e7475534400b2915a86d8f853bc65d419c3d3b7138bf021e66de25c SHA512 7eca31111f40782a19b49535322bc56d723022d52b0842c4beff512f32fa415a6c75851eb84950358cb6a11693095cafe56364028e48385b11135de414edca21
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
new file mode 100644
index 000000000000..450020cc2c19
--- /dev/null
+++ b/dev-python/munch/files/munch-2.5.0-revert-pbr.patch
@@ -0,0 +1,39 @@
+diff --git a/setup.py b/setup.py
+index 31f229c..9046e38 100644
+--- a/setup.py
++++ b/setup.py
+@@ -1,9 +1,29 @@
+-from setuptools import setup
+-
++from setuptools import setup, find_packages
+
+ setup(
+- setup_requires=['pbr>=3.0', 'setuptools>=17.1'],
+- pbr=True,
+- long_description_content_type='text/markdown; charset=UTF-8',
++ name="munch",
++ version=__version__,
++ description="A dot-accessible dictionary (a la JavaScript objects).",
++ url="http://github.com/Infinidat/munch",
++ author="Rotem Yaari",
++ author_email="vmalloc@gmail.com",
++ install_requires=[
++ 'six',
++ ],
++ packages=find_packages(exclude=["tests"]),
+ keywords=['munch', 'dict', 'mapping', 'container', 'collection'],
++ classifiers=[
++ 'Development Status :: 5 - Production/Stable',
++ 'Intended Audience :: Developers',
++ 'Operating System :: OS Independent',
++ 'Programming Language :: Python',
++ "Programming Language :: Python :: 2.7",
++ "Programming Language :: Python :: 3.5",
++ "Programming Language :: Python :: 3.6",
++ 'Topic :: Software Development',
++ 'Topic :: Software Development :: Libraries',
++ 'Topic :: Utilities',
++ 'License :: OSI Approved :: MIT License',
++ ],
++ license='MIT',
+ )
diff --git a/dev-python/munch/metadata.xml b/dev-python/munch/metadata.xml
new file mode 100644
index 000000000000..30571b8852bd
--- /dev/null
+++ b/dev-python/munch/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">munch</remote-id>
+ <remote-id type="github">Infinidat/munch</remote-id>
+ </upstream>
+ <origin>gentoo-staging</origin>
+</pkgmetadata>
diff --git a/dev-python/munch/munch-2.3.2.ebuild b/dev-python/munch/munch-2.3.2.ebuild
new file mode 100644
index 000000000000..f3b03120e566
--- /dev/null
+++ b/dev-python/munch/munch-2.3.2.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6,7} )
+
+inherit distutils-r1
+
+DESCRIPTION="A dot-accessible dictionary (a la JavaScript objects)"
+HOMEPAGE="https://github.com/Infinidat/munch"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+KEYWORDS="amd64 ~arm64 x86"
+SLOT="0"
+IUSE=""
+
+RDEPEND=""
+DEPEND="
+ ${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+"
diff --git a/dev-python/munch/munch-2.5.0-r1.ebuild b/dev-python/munch/munch-2.5.0-r1.ebuild
new file mode 100644
index 000000000000..5f016a764937
--- /dev/null
+++ b/dev-python/munch/munch-2.5.0-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="A dot-accessible dictionary (a la JavaScript objects)"
+HOMEPAGE="https://github.com/Infinidat/munch"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
+SLOT="0"
+
+BDEPEND="
+ dev-python/six[${PYTHON_USEDEP}]
+ test? ( >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] )
+"
+
+PATCHES=(
+ "${FILESDIR}/munch-2.5.0-revert-pbr.patch"
+)
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ distutils-r1_python_prepare_all
+
+ sed -i "s:__version__:'${PV}':" setup.py || die
+}