commit:     6492c93f4b2f86b053b39fc986b3a0646be7b7f1
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 14 17:45:35 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Nov 14 17:45:35 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6492c93f

dev-python/logfury: PEP517

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/logfury/logfury-1.0.1-r1.ebuild | 34 ++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/dev-python/logfury/logfury-1.0.1-r1.ebuild 
b/dev-python/logfury/logfury-1.0.1-r1.ebuild
new file mode 100644
index 000000000000..f73d9cb6f78f
--- /dev/null
+++ b/dev-python/logfury/logfury-1.0.1-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="Boilerplate library for logging method calls"
+HOMEPAGE="
+       https://github.com/reef-technologies/logfury
+       https://pypi.org/project/logfury/";
+SRC_URI="
+       https://github.com/reef-technologies/${PN}/archive/v${PV}.tar.gz
+               -> ${P}.gh.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="
+       test? (
+               dev-python/testfixtures[${PYTHON_USEDEP}]
+       )"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+       # remove pin for old Pythons (sic!)
+       sed -i -e '/setuptools_scm/d' setup.py || die
+       distutils-r1_src_prepare
+       export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+}

Reply via email to