summaryrefslogtreecommitdiff
path: root/dev-python/hyperlink
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/hyperlink')
-rw-r--r--dev-python/hyperlink/Manifest1
-rw-r--r--dev-python/hyperlink/hyperlink-21.0.0-r1.ebuild31
-rw-r--r--dev-python/hyperlink/metadata.xml22
3 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/hyperlink/Manifest b/dev-python/hyperlink/Manifest
new file mode 100644
index 000000000000..1ae8bbd231e0
--- /dev/null
+++ b/dev-python/hyperlink/Manifest
@@ -0,0 +1 @@
+DIST hyperlink-21.0.0.tar.gz 140743 BLAKE2B d432692172dc5cbb4f7cc1dbbfaf87871f0d9b2519334d112841abf8d958232516249472611e986b20e6fd298f5013db38f214fa332e1b121bd80a420b4cc614 SHA512 9e0e9273dde1b0a41329a74fbb26c4f327b87f387ee64b9a2ab641ca5cc8b9ea0516884415e9adf1d4880ae9c053a5cba2c550fc508bb56fddb44a543d5da860
diff --git a/dev-python/hyperlink/hyperlink-21.0.0-r1.ebuild b/dev-python/hyperlink/hyperlink-21.0.0-r1.ebuild
new file mode 100644
index 000000000000..e7588b95a3a7
--- /dev/null
+++ b/dev-python/hyperlink/hyperlink-21.0.0-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{13..14} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A featureful, correct URL for Python"
+HOMEPAGE="
+ https://github.com/python-hyper/hyperlink/
+ https://pypi.org/project/hyperlink/
+"
+
+LICENSE="BSD MIT"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos"
+
+RDEPEND="
+ dev-python/idna[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ # suppresses hypothesis health checks
+ local -x CI=1
+ epytest
+}
diff --git a/dev-python/hyperlink/metadata.xml b/dev-python/hyperlink/metadata.xml
new file mode 100644
index 000000000000..626f19ab16c3
--- /dev/null
+++ b/dev-python/hyperlink/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <stabilize-allarches />
+ <upstream>
+ <maintainer>
+ <email>mahmoud@hatnote.com</email>
+ <name>Mahmoud Hashemi</name>
+ </maintainer>
+ </upstream>
+ <longdescription>
+ The humble, but powerful, URL runs everything around us.
+ Chances are you've used several just to read this text.
+ Hyperlink is a featureful, pure-Python implementation of the URL, with
+ an emphasis on correctness.
+ </longdescription>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>