mirror of
https://github.com/archlinux/aur.git
synced 2026-02-10 06:54:23 +01:00
Rewrite package source for it to be 0BSD
Add 0BSD license
This commit is contained in:
parent
faf8e1ba9e
commit
cf6620b2d1
4 changed files with 42 additions and 30 deletions
9
.SRCINFO
9
.SRCINFO
|
|
@ -1,5 +1,5 @@
|
|||
pkgbase = python-borgstore
|
||||
pkgdesc = Borg Backup key-value store backend
|
||||
pkgdesc = A experimental key/value store implementation, supporting multiple backends
|
||||
pkgver = 0.3.0
|
||||
pkgrel = 1
|
||||
url = https://github.com/borgbackup/borgstore
|
||||
|
|
@ -9,9 +9,12 @@ pkgbase = python-borgstore
|
|||
makedepends = python-installer
|
||||
makedepends = python-setuptools
|
||||
makedepends = python-setuptools-scm
|
||||
makedepends = python-wheel
|
||||
depends = python
|
||||
optdepends = python-boto3: S3 backend
|
||||
optdepends = python-botocore: S3 backend
|
||||
optdepends = python-paramiko: sftp backend
|
||||
optdepends = python-requests: rclone backend
|
||||
source = https://github.com/borgbackup/borgstore/releases/download/0.3.0/borgstore-0.3.0.tar.gz
|
||||
sha256sums = a9049f730c9e31ce9ccdfb4ff171542dbc818fd4c8484c4eb51e65addd76fe43
|
||||
b2sums = a7da50ec044f33e489dadae8805ef2e25fd7368a4d43359ab538e6ab03c3bbd1d15eb338ef00678d8ae5b5b11e3a388ec0b154abc2646b46e525124b92dc7611
|
||||
|
||||
pkgname = python-borgstore
|
||||
|
|
|
|||
6
.gitignore
vendored
6
.gitignore
vendored
|
|
@ -1,4 +1,6 @@
|
|||
*
|
||||
!PKGBUILD
|
||||
!.SRCINFO
|
||||
!.gitignore
|
||||
!.nvchecker.toml
|
||||
!.SRCINFO
|
||||
!LICENSE
|
||||
!PKGBUILD
|
||||
|
|
|
|||
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.
|
||||
45
PKGBUILD
45
PKGBUILD
|
|
@ -1,36 +1,31 @@
|
|||
# Maintainer:
|
||||
# Maintainer: AlphaLynx <AlphaLynx at protonmail dot com>
|
||||
|
||||
_module="borgstore"
|
||||
pkgname="python-$_module"
|
||||
pkgname=python-borgstore
|
||||
_name=${pkgname#python-}
|
||||
pkgver=0.3.0
|
||||
pkgrel=1
|
||||
pkgdesc="Borg Backup key-value store backend"
|
||||
url="https://github.com/borgbackup/borgstore"
|
||||
license=('BSD-3-Clause')
|
||||
pkgdesc='A experimental key/value store implementation, supporting multiple backends'
|
||||
arch=('any')
|
||||
|
||||
depends=(
|
||||
'python'
|
||||
url='https://github.com/borgbackup/borgstore'
|
||||
license=('BSD-3-Clause')
|
||||
depends=('python')
|
||||
makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-setuptools-scm')
|
||||
optdepends=(
|
||||
'python-boto3: S3 backend'
|
||||
'python-botocore: S3 backend'
|
||||
'python-paramiko: sftp backend'
|
||||
'python-requests: rclone backend'
|
||||
)
|
||||
makedepends=(
|
||||
'python-build'
|
||||
'python-installer'
|
||||
'python-setuptools'
|
||||
'python-setuptools-scm'
|
||||
'python-wheel'
|
||||
)
|
||||
|
||||
_pkgsrc="$_module-$pkgver"
|
||||
_pkgext="tar.gz"
|
||||
source=("$url/releases/download/$pkgver/$_pkgsrc.$_pkgext")
|
||||
sha256sums=('a9049f730c9e31ce9ccdfb4ff171542dbc818fd4c8484c4eb51e65addd76fe43')
|
||||
source=("$url/releases/download/$pkgver/$_name-$pkgver.tar.gz")
|
||||
b2sums=('a7da50ec044f33e489dadae8805ef2e25fd7368a4d43359ab538e6ab03c3bbd1d15eb338ef00678d8ae5b5b11e3a388ec0b154abc2646b46e525124b92dc7611')
|
||||
|
||||
build() {
|
||||
cd "$_pkgsrc"
|
||||
python -m build --wheel --no-isolation
|
||||
cd $_name-$pkgver
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_pkgsrc"
|
||||
python -m installer --compile-bytecode=2 --destdir="$pkgdir" dist/*.whl
|
||||
cd $_name-$pkgver
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
install -Dm644 LICENSE.rst "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue