upgpkg: python-vdf: initial upload
This commit is contained in:
commit
97c3fd2ac4
7 changed files with 119 additions and 0 deletions
16
.SRCINFO
Normal file
16
.SRCINFO
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
pkgbase = python-vdf
|
||||
pkgdesc = Library for working with Valve's VDF text format
|
||||
pkgver = 4.0
|
||||
pkgrel = 2
|
||||
url = https://github.com/solsticegamestudios/vdf
|
||||
arch = any
|
||||
license = MIT
|
||||
checkdepends = python-nose
|
||||
checkdepends = python-coverage
|
||||
checkdepends = python-pytest
|
||||
makedepends = python-setuptools
|
||||
depends = python>=3.6
|
||||
source = python-vdf-4.0.tar.gz::https://github.com/solsticegamestudios/vdf/archive/v4.0.tar.gz
|
||||
sha256sums = 1d778663f1158be0f70aa1cdd5b2685ae6eee14e4d11a0d96684b7ed86e89c93
|
||||
|
||||
pkgname = python-vdf
|
||||
17
.gitignore
vendored
Normal file
17
.gitignore
vendored
Normal file
|
|
@ -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
|
||||
5
.nvchecker.toml
Normal file
5
.nvchecker.toml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
[python-vdf]
|
||||
source = "git"
|
||||
git = "https://github.com/solsticegamestudios/vdf"
|
||||
prefix = "v"
|
||||
exclude_regex = ".*alpha.*"
|
||||
12
LICENSE
Normal file
12
LICENSE
Normal 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
1
LICENSES/0BSD.txt
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../LICENSE
|
||||
46
PKGBUILD
Normal file
46
PKGBUILD
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
# Maintainer: Christian Schendel <doppelhelix@gmail.com>
|
||||
# Maintainer: Rhinoceros <https://aur.archlinux.org/account/rhinoceros>
|
||||
# Contributor: Abhishek Mudgal
|
||||
# Contributor: Ivan Semkin (ivan at semkin dot ru)
|
||||
|
||||
_pkgname=vdf
|
||||
pkgname=python-vdf
|
||||
pkgver=4.0
|
||||
pkgrel=2
|
||||
pkgdesc="Library for working with Valve's VDF text format"
|
||||
arch=('any')
|
||||
url='https://github.com/solsticegamestudios/vdf'
|
||||
license=(
|
||||
MIT
|
||||
)
|
||||
depends=(
|
||||
'python>=3.6'
|
||||
)
|
||||
makedepends=(
|
||||
python-setuptools
|
||||
)
|
||||
checkdepends=(
|
||||
python-nose
|
||||
python-coverage
|
||||
python-pytest
|
||||
)
|
||||
source=(
|
||||
"$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
|
||||
)
|
||||
b2sums=('1d4cddc7057081c8aefb1bf603eca8cac69c62926643459b88d856e49938b461e106a89d6fe09dfb3a6ee3956af6fbf9cb9e3d2fca82665eb2f1dbe1198bc5d6')
|
||||
|
||||
build() {
|
||||
cd "$_pkgname-$pkgver"
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$_pkgname-$pkgver"
|
||||
pytest tests
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_pkgname-$pkgver"
|
||||
python setup.py install --optimize=1 --root="${pkgdir}/"
|
||||
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
22
REUSE.toml
Normal file
22
REUSE.toml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
version = 1
|
||||
|
||||
[[annotations]]
|
||||
path = [
|
||||
"PKGBUILD",
|
||||
"README.md",
|
||||
"keys/**",
|
||||
".SRCINFO",
|
||||
".nvchecker.toml",
|
||||
"*.install",
|
||||
"*.sysusers",
|
||||
"*.tmpfiles",
|
||||
"*.logrotate",
|
||||
"*.pam",
|
||||
"*.service",
|
||||
"*.socket",
|
||||
"*.timer",
|
||||
"*.desktop",
|
||||
"*.hook",
|
||||
]
|
||||
SPDX-FileCopyrightText = "Arch Linux contributors"
|
||||
SPDX-License-Identifier = "0BSD"
|
||||
Loading…
Add table
Add a link
Reference in a new issue