summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-07-10 08:24:58 +0200
committerMichał Górny <mgorny@gentoo.org>2024-07-10 08:32:21 +0200
commitc08a3a325888c5ac05790646895f7e7eb38928fd (patch)
tree4e2276464bf9273bb955e0c0cdb9e7597630cff4 /dev-python/siphash24
parentdev-libs/c-siphash: New package, v1.1.0 (diff)
downloadgentoo-c08a3a325888c5ac05790646895f7e7eb38928fd.tar.gz
gentoo-c08a3a325888c5ac05790646895f7e7eb38928fd.tar.bz2
gentoo-c08a3a325888c5ac05790646895f7e7eb38928fd.zip
dev-python/siphash24: New package, v1.6
New dependeny for >=dev-python/pytools-2024.1.7. Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/siphash24')
-rw-r--r--dev-python/siphash24/Manifest1
-rw-r--r--dev-python/siphash24/metadata.xml11
-rw-r--r--dev-python/siphash24/siphash24-1.6.ebuild29
3 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/siphash24/Manifest b/dev-python/siphash24/Manifest
new file mode 100644
index 000000000000..8e1b28ee7ad9
--- /dev/null
+++ b/dev-python/siphash24/Manifest
@@ -0,0 +1 @@
+DIST siphash24-1.6.tar.gz 19659 BLAKE2B d2f454ab64b7c50bd415a5821ce50fd97b43d9c13999d134b260a1a19863bf827a4baf4599b0647b5f936ec27d9f1985f94fd3adc4fa5112f2f7ad03afac5abb SHA512 2a04c35445e63f00e440797a84ed1714b5576ad3fa4c4933e5199ce3322056188eca0c0947ae4370fce9a2028a7677c9c8bfcf771be1dde884b7a02ef1edeb65
diff --git a/dev-python/siphash24/metadata.xml b/dev-python/siphash24/metadata.xml
new file mode 100644
index 000000000000..5fb24e0a6986
--- /dev/null
+++ b/dev-python/siphash24/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">dnicolodi/python-siphash24</remote-id>
+ <remote-id type="pypi">siphash24</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/siphash24/siphash24-1.6.ebuild b/dev-python/siphash24/siphash24-1.6.ebuild
new file mode 100644
index 000000000000..7f13d512fbe1
--- /dev/null
+++ b/dev-python/siphash24/siphash24-1.6.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=meson-python
+PYTHON_COMPAT=( pypy3 python3_{10..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Streaming-capable SipHash-1-3 and SipHash-2-4 Implementation"
+HOMEPAGE="
+ https://github.com/dnicolodi/python-siphash24/
+ https://pypi.org/project/siphash24/
+"
+
+LICENSE="|| ( Apache-2.0 LGPL-2.1+ )"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+ dev-libs/c-siphash
+"
+BDEPEND="
+ >=dev-python/cython-3.0.2[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests unittest