Initial commit

This commit is contained in:
link2xt 2026-02-22 01:47:07 +00:00
commit db85418647
6 changed files with 81 additions and 0 deletions

16
.SRCINFO Normal file
View file

@ -0,0 +1,16 @@
pkgbase = python-pyoprf
pkgdesc = Python bindings for the liboprf library
pkgver = 0.9.3
pkgrel = 1
url = https://pypi.org/project/pyoprf/
arch = any
license = LGPL-3.0-or-later
makedepends = python-build
makedepends = python-installer
makedepends = python-wheel
makedepends = python-setuptools
depends = liboprf
source = https://files.pythonhosted.org/packages/source/p/pyoprf/pyoprf-0.9.3.tar.gz
b2sums = 22916713c559020c51094c854d0d49e60c7061b80a8ba1f870119556d39648021f7333c7bb1dea33d36608fef60636098bf246e1f0d7638f682af150bfbaf615
pkgname = python-pyoprf

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=pyoprf
pkgname=python-$_name
pkgver=0.9.3
pkgrel=1
pkgdesc="Python bindings for the liboprf library"
arch=(any)
url="https://pypi.org/project/pyoprf/"
license=('LGPL-3.0-or-later')
depends=(liboprf)
makedepends=(python-build python-installer python-wheel python-setuptools)
source=(https://files.pythonhosted.org/packages/source/${_name::1}/${_name//-/_}/${_name//-/_}-$pkgver.tar.gz)
b2sums=('22916713c559020c51094c854d0d49e60c7061b80a8ba1f870119556d39648021f7333c7bb1dea33d36608fef60636098bf246e1f0d7638f682af150bfbaf615')
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"