commit b53da117366c6b70b5724e77d06651857ed6ecc0 Author: Christian Schendel Date: Thu Dec 25 18:04:54 2025 +0100 upgpkg: python-steam-1:1.6.1-1: initial upload diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..f574175 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = python-steam + pkgdesc = Python package for interacting with Steam + pkgver = 1.6.1 + pkgrel = 1 + url = https://github.com/solsticegamestudios/steam + arch = any + license = MIT + makedepends = python-build + makedepends = python-installer + makedepends = python-setuptools + makedepends = python-wheel + depends = python + depends = python-cachetools + depends = python-pycryptodomex + depends = python-requests + depends = python-six + depends = python-vdf + source = steam-1.6.1.tar.gz::https://github.com/solsticegamestudios/steam/archive/refs/tags/v1.6.1.tar.gz + sha256sums = dcc305f11e1686a3557cd87afdc50ce177a5015ba3fdd51bef63c7302dd21b05 + +pkgname = python-steam diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a8267d1 --- /dev/null +++ b/.gitignore @@ -0,0 +1,17 @@ +# Ignore everything +* + +# But not these files... +!.gitignore +!PKGBUILD +!.SRCINFO +!LICENSE +!chroot-build +!.nvchecker.toml +!/keys +!/keys/pgp +!/keys/pgp/*.asc +!/LICENSES +!/LICENSES/*.txt +!REUSE.toml +!*.patch diff --git a/.nvchecker.toml b/.nvchecker.toml new file mode 100644 index 0000000..45f743e --- /dev/null +++ b/.nvchecker.toml @@ -0,0 +1,5 @@ +[python-steam] +source = "git" +git = "https://github.com/solsticegamestudios/steam.git" +prefix = "v" +exclude_regex = ".*alpha.*" diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..b87c5e4 --- /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 0000000..ea5b606 --- /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 0000000..7917767 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: Christian Schendel +# Maintainer: Mark Wagie +pkgname=python-steam +_name=${pkgname#python-} +pkgver=1.6.1 +epoch=1 +pkgrel=1 +pkgdesc="Python package for interacting with Steam" +arch=('any') +url="https://github.com/solsticegamestudios/steam" +license=( + MIT +) +depends=( + python + python-cachetools + python-pycryptodomex + python-requests + python-six + python-vdf +) +makedepends=( + python-build + python-installer + python-setuptools + python-wheel +) +source=( + "$_name-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz" +) +b2sums=('b02fcfbab0a3fba49eedc66720f50c3c191b01a0361500c5c8bb24c685bc6a463f25185bbb128483d8bd65a63474ed40689dd3174205610438295dd7e9e0b324') + +build() { + cd "$_name-$pkgver" + python -m build --wheel --no-isolation +} + +package() { + cd "$_name-$pkgver" + python -m installer --destdir="$pkgdir" dist/*.whl + + install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" +} diff --git a/REUSE.toml b/REUSE.toml new file mode 100644 index 0000000..f198af0 --- /dev/null +++ b/REUSE.toml @@ -0,0 +1,30 @@ +version = 1 + +[[annotations]] +path = [ + "PKGBUILD", + "README.md", + "keys/**", + ".SRCINFO", + ".nvchecker.toml", + ".gitignore", + "*.install", + "*.sysusers", + "*.tmpfiles", + "*.logrotate", + "*.pam", + "*.service", + "*.socket", + "*.timer", + "*.desktop", + "*.hook", +] +SPDX-FileCopyrightText = "Arch Linux contributors" +SPDX-License-Identifier = "0BSD" + +[[annotations]] +path = [ + "*.patch", +] +SPDX-FileCopyrightText = "python-inputs contributors" +SPDX-License-Identifier = "BSD-3-Clause"