commit 87e5cb38006e593bdd6e4b378cc8a8aebedf1940 Author: link2xt Date: Sun Feb 22 01:29:33 2026 +0000 Initial commit diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000000000..1d5350bba2244 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = python-securestring + pkgdesc = Clears the contents of strings containing cryptographic material + pkgver = 0.2 + pkgrel = 1 + url = https://pypi.python.org/pypi/SecureString + arch = x86_64 + license = MIT + makedepends = python-build + makedepends = python-installer + makedepends = python-wheel + makedepends = python-setuptools + source = https://files.pythonhosted.org/packages/source/S/SecureString/SecureString-0.2.tar.gz + b2sums = c77f0d6ae7980865120f268cc1cbe73fdd58afd87a9aa7727f7dcc9ee2bb4760bea4a8889c746e4c796b1e39c35cad4016ccd3760e0f19effd45c767016f9198 + +pkgname = python-securestring 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..3a2bdc68e3424 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: link2xt +pkgname=python-securestring +_name=SecureString +pkgver=0.2 +pkgrel=1 +pkgdesc="Clears the contents of strings containing cryptographic material" +arch=(x86_64) +url="https://pypi.python.org/pypi/SecureString" +license=('MIT') +makedepends=(python-build python-installer python-wheel python-setuptools) +source=(https://files.pythonhosted.org/packages/source/${_name::1}/${_name//-/_}/${_name//-/_}-$pkgver.tar.gz) +noextract=() +b2sums=('c77f0d6ae7980865120f268cc1cbe73fdd58afd87a9aa7727f7dcc9ee2bb4760bea4a8889c746e4c796b1e39c35cad4016ccd3760e0f19effd45c767016f9198') + +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"