commit:     1303f113e1fe84daafb367ef9e5509191cf1b104
Author:     Florian Albrechtskirchinger <falbrechtskirchinger <AT> gmail <DOT> 
com>
AuthorDate: Tue Mar 21 16:35:40 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Mar 21 17:13:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1303f113

dev-python/unearth: new package, add 0.8.1

Signed-off-by: Florian Albrechtskirchinger <falbrechtskirchinger <AT> gmail.com>

 dev-python/unearth/Manifest             |  1 +
 dev-python/unearth/metadata.xml         | 12 ++++++++++
 dev-python/unearth/unearth-0.8.1.ebuild | 39 +++++++++++++++++++++++++++++++++
 3 files changed, 52 insertions(+)

diff --git a/dev-python/unearth/Manifest b/dev-python/unearth/Manifest
new file mode 100644
index 000000000..c7bc563f9
--- /dev/null
+++ b/dev-python/unearth/Manifest
@@ -0,0 +1 @@
+DIST unearth-0.8.1.tar.gz 269300 BLAKE2B 
bbdfc83d5b25386e49bc21e25c5a0f8daf7d31f0afa8828576b06b366a093589ba23f5a7cc36a3ac47a254bd0734eeb8da9f14d0844d5a43b163dc9551c1cb8e
 SHA512 
b4ffe0c79092622c8c7fff1b3b648fa741408d0e18925cbf39a2e662500cf3e976b745bd4a6bcbdeb879f71fe9efdf074719186ee9036a296ec10589e14fd3ab

diff --git a/dev-python/unearth/metadata.xml b/dev-python/unearth/metadata.xml
new file mode 100644
index 000000000..a663f3e5c
--- /dev/null
+++ b/dev-python/unearth/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="person">
+    <email>falbrechtskirchin...@gmail.com</email>
+    <name>Florian Albrechtskirchinger</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">frostming/unearth</remote-id>
+    <remote-id type="pypi">unearth</remote-id>
+  </upstream>
+</pkgmetadata>

diff --git a/dev-python/unearth/unearth-0.8.1.ebuild 
b/dev-python/unearth/unearth-0.8.1.ebuild
new file mode 100644
index 000000000..bb394310e
--- /dev/null
+++ b/dev-python/unearth/unearth-0.8.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=pdm
+PYTHON_COMPAT=( python3_{10..11} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A utility to fetch and download python packages"
+HOMEPAGE="
+       https://github.com/frostming/unearth/
+       https://pypi.org/project/unearth/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+       dev-python/packaging[${PYTHON_USEDEP}]
+       dev-python/requests[${PYTHON_USEDEP}]
+"
+
+# TODO add package dev-python/requests-wsgi-adapter and enable tests
+# BDEPEND="
+#      ${RDEPEND}
+#      test? (
+#              dev-python/pytest-httpserver[${PYTHON_USEDEP}]
+#              dev-python/flask[${PYTHON_USEDEP}]
+#              dev-python/requests-wsgi-adapter[${PYTHON_USEDEP}]
+#              dev-python/trustme[${PYTHON_USEDEP}]
+#      )
+# "
+
+# distutils_enable_tests pytest
+
+RESTRICT="test"

Reply via email to