From ecdac123787b96ce6649f0f91da12ea6458cc2b1 Mon Sep 17 00:00:00 2001 From: Palica Date: Tue, 23 Jun 2020 22:35:08 +0200 Subject: Updating liguros repo --- dev-python/simplegeneric/Manifest | 1 + dev-python/simplegeneric/metadata.xml | 20 +++++++++++++++++ .../simplegeneric/simplegeneric-0.8.1-r1.ebuild | 26 ++++++++++++++++++++++ 3 files changed, 47 insertions(+) create mode 100644 dev-python/simplegeneric/Manifest create mode 100644 dev-python/simplegeneric/metadata.xml create mode 100644 dev-python/simplegeneric/simplegeneric-0.8.1-r1.ebuild (limited to 'dev-python/simplegeneric') diff --git a/dev-python/simplegeneric/Manifest b/dev-python/simplegeneric/Manifest new file mode 100644 index 000000000000..3459f19c92b1 --- /dev/null +++ b/dev-python/simplegeneric/Manifest @@ -0,0 +1 @@ +DIST simplegeneric-0.8.1.zip 12663 BLAKE2B cc3d70f8f4f04209b7ce259c6caaccec001515a3da04736cb8baa5fe7e6091f4f85bdde0c5c4227a01bfe52739f51ab0116d8bfdc4bb58bd2188c3a54c5eac37 SHA512 74c25d4e04fe197058cb43fabe3702cc5901989dc0b0bcf7511369f4f3d90fd98e4225174db0680c8f39389914f82824bdbdaf4c302b53998fbabbf0dba393e4 diff --git a/dev-python/simplegeneric/metadata.xml b/dev-python/simplegeneric/metadata.xml new file mode 100644 index 000000000000..ab2c082d4491 --- /dev/null +++ b/dev-python/simplegeneric/metadata.xml @@ -0,0 +1,20 @@ + + + + + python@gentoo.org + Python + + + The simplegeneric module lets you define simple single-dispatch + generic functions, akin to Python's built-in generic functions like len(), + iter() and so on. However, instead of using specially-named methods, these + generic functions use simple lookup tables, akin to those used by + e.g. pickle.dump() and other generic functions found in the Python + standard library. + + + simplegeneric + + gentoo-staging + diff --git a/dev-python/simplegeneric/simplegeneric-0.8.1-r1.ebuild b/dev-python/simplegeneric/simplegeneric-0.8.1-r1.ebuild new file mode 100644 index 000000000000..f97cf443efee --- /dev/null +++ b/dev-python/simplegeneric/simplegeneric-0.8.1-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python3_{6,7} ) + +inherit distutils-r1 + +DESCRIPTION="Simple generic functions for Python" +HOMEPAGE="https://pypi.org/project/simplegeneric/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="" + +DEPEND=" + app-arch/unzip + dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="" + +python_test() { + esetup.py test +} -- cgit v1.3.1