From e9fd1e3fcb76a2d7d6c95dfe7007b352c882a624 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Wed, 30 Dec 2020 10:37:11 +0100 Subject: [PATCH] git subrepo clone https://aur.archlinux.org/magic-wormhole subrepo: subdir: "magic-wormhole" merged: "20814b8" upstream: origin: "https://aur.archlinux.org/magic-wormhole" branch: "master" commit: "20814b8" git-subrepo: version: "0.4.1" origin: "???" commit: "???" --- magic-wormhole/.SRCINFO | 33 +++++++++++++++++++++++++++++++++ magic-wormhole/.gitrepo | 12 ++++++++++++ magic-wormhole/PKGBUILD | 26 ++++++++++++++++++++++++++ 3 files changed, 71 insertions(+) create mode 100644 magic-wormhole/.SRCINFO create mode 100644 magic-wormhole/.gitrepo create mode 100644 magic-wormhole/PKGBUILD diff --git a/magic-wormhole/.SRCINFO b/magic-wormhole/.SRCINFO new file mode 100644 index 0000000..8068f6d --- /dev/null +++ b/magic-wormhole/.SRCINFO @@ -0,0 +1,33 @@ +pkgbase = magic-wormhole + pkgdesc = Securely transfer data between computers + pkgver = 0.12.0 + pkgrel = 1 + url = https://pypi.python.org/pypi/magic-wormhole/0.12.0 + arch = any + license = MIT + makedepends = python-setuptools + depends = python-click + depends = python-cffi + depends = python-autobahn + depends = python-tqdm + depends = python-hkdf + depends = python-pynacl + depends = python-spake2 + depends = python-humanize + depends = python-idna + depends = python-service-identity + depends = python-txtorcon + provides = wormhole + provides = wormhole-server + provides = python-wormhole + conflicts = wormhole + conflicts = wormhole-server + conflicts = python-wormhole + replaces = wormhole + replaces = wormhole-server + replaces = python-wormhole + source = https://files.pythonhosted.org/packages/source/m/magic-wormhole/magic-wormhole-0.12.0.tar.gz + sha512sums = 0ef4241a5692227206c1a07a2aed8a2c1575281d52db8bcdb8ffd070c158b4969126486b5e68e899f2100d7daedbbe0b91a7d667915bd5b86be26d6553b34dd6 + +pkgname = magic-wormhole + diff --git a/magic-wormhole/.gitrepo b/magic-wormhole/.gitrepo new file mode 100644 index 0000000..cefe4ca --- /dev/null +++ b/magic-wormhole/.gitrepo @@ -0,0 +1,12 @@ +; DO NOT EDIT (unless you know what you are doing) +; +; This subdirectory is a git "subrepo", and this file is maintained by the +; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme +; +[subrepo] + remote = https://aur.archlinux.org/magic-wormhole + branch = master + commit = 20814b8e212cc9e4a82ca536bb136eb365780d74 + parent = f570470fd5798f3f2ea7674b4672bcccffa37a7e + method = merge + cmdver = 0.4.1 diff --git a/magic-wormhole/PKGBUILD b/magic-wormhole/PKGBUILD new file mode 100644 index 0000000..375c1e7 --- /dev/null +++ b/magic-wormhole/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Storm Dragon + +pkgname='magic-wormhole' +pkgver=0.12.0 +pkgrel=1 +pkgdesc="Securely transfer data between computers" +arch=('any') +url="https://pypi.python.org/pypi/${pkgname}/${pkgver}" +license=('MIT') +depends=('python-click' 'python-cffi' 'python-autobahn' 'python-tqdm' 'python-hkdf' 'python-pynacl' 'python-spake2' 'python-humanize' 'python-idna' 'python-service-identity' 'python-txtorcon') +makedepends=('python-setuptools') +source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz") +conflicts=("wormhole" "wormhole-server" "python-wormhole") +provides=("wormhole" "wormhole-server" "python-wormhole") +replaces=("wormhole" "wormhole-server" "python-wormhole") +sha512sums=('0ef4241a5692227206c1a07a2aed8a2c1575281d52db8bcdb8ffd070c158b4969126486b5e68e899f2100d7daedbbe0b91a7d667915bd5b86be26d6553b34dd6') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + python setup.py build +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + python setup.py install --root="${pkgdir}/" --optimize=1 +}