commit 82296816701c63f627e2cba6ddd8ffc76bb269e9 Author: link2xt Date: Sun Feb 22 01:57:32 2026 +0000 Initial commit diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000000000..d70308847d633 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = python-pyequihash + pkgdesc = Python bindings for the libequihash library + pkgver = 0.2 + pkgrel = 1 + url = https://pypi.org/project/pyequihash/ + arch = any + license = GPL-3.0-or-later + makedepends = python-build + makedepends = python-installer + makedepends = python-wheel + makedepends = python-setuptools + depends = equihash + source = https://files.pythonhosted.org/packages/source/p/pyequihash/pyequihash-0.2.tar.gz + b2sums = 3995f81936197f9c3351f2f9c843a1b0a3418b5e89f9d805c4f846010a885bfc2cff04f0eec537bf6e2d391b5ca0e0716262527222ed32b7a5b19b3f274dcb12 + +pkgname = python-pyequihash diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000000..7cdb452e9aa5c --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.asc +*.log +*.pkg.tar.zst +*.tar.gz diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000000000..b87c5e4be4423 --- /dev/null +++ b/LICENSE @@ -0,0 +1,12 @@ +Copyright Arch Linux Contributors + +Permission to use, copy, modify, and/or distribute this software for +any purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL +WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE +FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY +DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN +AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT +OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/LICENSES/0BSD.txt b/LICENSES/0BSD.txt new file mode 120000 index 0000000000000..ea5b60640b01f --- /dev/null +++ b/LICENSES/0BSD.txt @@ -0,0 +1 @@ +../LICENSE \ No newline at end of file diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000000000..a29a74e16ea86 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: link2xt +_name=pyequihash +pkgname=python-$_name +pkgver=0.2 +pkgrel=1 +pkgdesc="Python bindings for the libequihash library" +arch=(any) +url="https://pypi.org/project/pyequihash/" +license=('GPL-3.0-or-later') +depends=(equihash) +makedepends=(python-build python-installer python-wheel python-setuptools) +source=(https://files.pythonhosted.org/packages/source/${_name::1}/${_name//-/_}/${_name//-/_}-$pkgver.tar.gz) +b2sums=(3995f81936197f9c3351f2f9c843a1b0a3418b5e89f9d805c4f846010a885bfc2cff04f0eec537bf6e2d391b5ca0e0716262527222ed32b7a5b19b3f274dcb12) + +build() { + cd $_name-$pkgver + python -m build --wheel --no-isolation +} + +package() { + cd $_name-$pkgver + python -m installer --destdir="$pkgdir" dist/*.whl +} diff --git a/REUSE.toml b/REUSE.toml new file mode 100644 index 0000000000000..49e3625ad0e49 --- /dev/null +++ b/REUSE.toml @@ -0,0 +1,25 @@ +version = 1 + +[[annotations]] +path = [ + "PKGBUILD", + "README.md", + "keys/**", + ".SRCINFO", + ".gitignore", + ".nvchecker.toml", + "*.install", + "*.sysusers", + "*sysusers.conf", + "*.tmpfiles", + "*tmpfiles.conf", + "*.logrotate", + "*.pam", + "*.service", + "*.socket", + "*.timer", + "*.desktop", + "*.hook", +] +SPDX-FileCopyrightText = "Arch Linux contributors" +SPDX-License-Identifier = "0BSD"