Initial commit

This commit is contained in:
link2xt 2026-02-22 01:57:32 +00:00
commit 8229681670
6 changed files with 81 additions and 0 deletions

16
.SRCINFO Normal file
View file

@ -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

4
.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
*.asc
*.log
*.pkg.tar.zst
*.tar.gz

12
LICENSE Normal file
View file

@ -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.

1
LICENSES/0BSD.txt Symbolic link
View file

@ -0,0 +1 @@
../LICENSE

23
PKGBUILD Normal file
View file

@ -0,0 +1,23 @@
# Maintainer: link2xt <link2xt@testrun.org>
_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
}

25
REUSE.toml Normal file
View file

@ -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"