summaryrefslogtreecommitdiff
path: root/dev-python/makefun
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-02-21 13:40:25 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-02-21 13:40:25 +0000
commitaa8b34b9d72247e4bfe0ecd9198eac51a616c2f1 (patch)
tree73739b1dd96beec9e93b66df71325476987950c0 /dev-python/makefun
parent5497f0ee53bff52e5298c53bedd7ecce12001d16 (diff)
downloadbaldeagleos-repo-aa8b34b9d72247e4bfe0ecd9198eac51a616c2f1.tar.gz
baldeagleos-repo-aa8b34b9d72247e4bfe0ecd9198eac51a616c2f1.tar.xz
baldeagleos-repo-aa8b34b9d72247e4bfe0ecd9198eac51a616c2f1.zip
Adding metadata
Diffstat (limited to 'dev-python/makefun')
-rw-r--r--dev-python/makefun/Manifest1
-rw-r--r--dev-python/makefun/files/makefun-1.13.1-no_pytest-runner.patch10
-rw-r--r--dev-python/makefun/makefun-1.13.1.ebuild25
-rw-r--r--dev-python/makefun/metadata.xml13
4 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/makefun/Manifest b/dev-python/makefun/Manifest
new file mode 100644
index 000000000000..e64a9b497cde
--- /dev/null
+++ b/dev-python/makefun/Manifest
@@ -0,0 +1 @@
+DIST makefun-1.13.1.tar.gz 72170 BLAKE2B b1b5e76277e742ef51bcdf2bf6f1d1e761010d75bc3f20d7a8c079b368972b90775bd3bb23cf1787911a8d858549d72d4a2c9379675e59f359486bf1c49566e2 SHA512 ae103d3827673c4124d051e3c76d3d0d126c783ac7a1ea09de3801fd695439eaa549c297bd5c262184a3ee6fdf7b046065081fa3183642778148c2134d7bfc06
diff --git a/dev-python/makefun/files/makefun-1.13.1-no_pytest-runner.patch b/dev-python/makefun/files/makefun-1.13.1-no_pytest-runner.patch
new file mode 100644
index 000000000000..659717903361
--- /dev/null
+++ b/dev-python/makefun/files/makefun-1.13.1-no_pytest-runner.patch
@@ -0,0 +1,10 @@
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -27,7 +27,6 @@
+ [options]
+ setup_requires =
+ setuptools_scm
+- pytest-runner
+ install_requires =
+ funcsigs;python_version<'3.3'
+ tests_require =
diff --git a/dev-python/makefun/makefun-1.13.1.ebuild b/dev-python/makefun/makefun-1.13.1.ebuild
new file mode 100644
index 000000000000..a2e4ba26de91
--- /dev/null
+++ b/dev-python/makefun/makefun-1.13.1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7,8,9,10} )
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1
+
+DESCRIPTION="Small library to dynamically create Python functions"
+HOMEPAGE="https://pypi.org/project/makefun/ https://github.com/smarie/python-makefun"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.13.1-no_pytest-runner.patch
+)
+
+distutils_enable_tests pytest
diff --git a/dev-python/makefun/metadata.xml b/dev-python/makefun/metadata.xml
new file mode 100644
index 000000000000..9ebe70f325a1
--- /dev/null
+++ b/dev-python/makefun/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>marecki@gentoo.org</email>
+ <name>Marek Szuba</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">makefun</remote-id>
+ </upstream>
+ <origin>gentoo-staging</origin>
+ <stabilize-allarches/>
+</pkgmetadata> \ No newline at end of file