[arch-commits] Commit in magic-wormhole/repos (2 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Thu Dec 2 23:30:35 UTC 2021


    Date: Thursday, December 2, 2021 @ 23:30:34
  Author: foutrelis
Revision: 1063071

archrelease: copy trunk to community-staging-any

Added:
  magic-wormhole/repos/community-staging-any/
  magic-wormhole/repos/community-staging-any/PKGBUILD
    (from rev 1063069, magic-wormhole/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: magic-wormhole/repos/community-staging-any/PKGBUILD (from rev 1063069, magic-wormhole/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-02 23:30:34 UTC (rev 1063071)
@@ -0,0 +1,36 @@
+# Maintainer: Alexander Epaneshnikov <alex19ep at archlinux.org>
+# Contributor: Storm Dragon <stormdragon2976 at gmail.com>
+
+pkgname=magic-wormhole
+pkgver=0.12.0
+pkgrel=7
+pkgdesc="Securely transfer data between computers"
+arch=('any')
+url="https://github.com/magic-wormhole/magic-wormhole"
+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'
+         'python-pyopenssl' 'python-setuptools')
+checkdepends=('python-mock' 'python-magic-wormhole-transit-relay'
+              'python-magic-wormhole-mailbox-server')
+source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/magic-wormhole/magic-wormhole/archive/refs/tags/${pkgver}.tar.gz")
+sha512sums=('141244e746b0718f2c9417e8f7de6a714b0feb051aea8c7950ea0d1bc5d2e24e922bed29544fe76aa61b06aa2ce2b5f330824017af8c6030813415e6c004c716')
+
+build() {
+	cd "${pkgname}-${pkgver}"
+	python setup.py build
+}
+
+check() {
+	cd "${pkgname}-${pkgver}"
+	python setup.py test
+}
+
+package() {
+	cd "${pkgname}-${pkgver}"
+	python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
+	install -vDm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+	install -vDm 644 docs/*.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+	install -vDm 644 docs/wormhole.1 -t "${pkgdir}/usr/share/man/man1"
+}



More information about the arch-commits mailing list