[arch-commits] Commit in onionshare/repos/community-any (PKGBUILD PKGBUILD)

Kpcyrd kpcyrd at gemini.archlinux.org
Fri Oct 8 00:54:43 UTC 2021


    Date: Friday, October 8, 2021 @ 00:54:43
  Author: kpcyrd
Revision: 1028005

archrelease: copy trunk to community-any

Added:
  onionshare/repos/community-any/PKGBUILD
    (from rev 1028004, onionshare/trunk/PKGBUILD)
Deleted:
  onionshare/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   94 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 51 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-10-08 00:54:25 UTC (rev 1028004)
+++ PKGBUILD	2021-10-08 00:54:43 UTC (rev 1028005)
@@ -1,43 +0,0 @@
-# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
-# Contributor: Kevin Azzam <aur at kevin.azz.am>
-# Contributor: Ye Shu <shuye02 at outlook.com>
-
-pkgname=onionshare
-pkgver=2.2
-pkgrel=5
-pkgdesc='Share a file over Tor Hidden Services anonymously and securely'
-url='https://github.com/micahflee/onionshare'
-arch=('any')
-license=('GPL3')
-depends=('python' 'hicolor-icon-theme' 'tor' 'stem' 'python-requests' 'python-pysocks' 'python-flask' 'python-flask-httpauth' 'python-pycryptodome' 'python-pyqt5')
-makedepends=('python-setuptools')
-optdepends=(
-  'python-nautilus: enable Nautilus right-click extension'
-  'obfs4proxy: tor bridge support'
-)
-checkdepends=('python-pytest')
-source=(https://github.com/micahflee/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz
-        https://github.com/micahflee/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz.asc)
-sha512sums=('fbb457971213b49c535c471e87ca4e5f9493da06a22a457b016517a3094ac594f4b059ec8ea8ce557234ba59960718c489ed42c587f008f92b85e44b74ce6b07'
-            'SKIP')
-b2sums=('91fa39c116d0eae0b22e1efcfbe636a97b4059553af39a3723f323e89d4080b2da9798bbc3cc6ad2849875806920bc4fb84e6784cec2102aca8bdbb9235499ea'
-        'SKIP')
-
-validpgpkeys=('927F419D7EC82C2F149C1BD1403C2657CD994F73')
-
-build() {
-  cd ${pkgname}
-  python setup.py build
-}
-
-check() {
-  cd ${pkgname}
-  pytest tests/
-}
-
-package() {
-  cd ${pkgname}
-  python setup.py install --skip-build -O1 --root="${pkgdir}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: onionshare/repos/community-any/PKGBUILD (from rev 1028004, onionshare/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-10-08 00:54:43 UTC (rev 1028005)
@@ -0,0 +1,51 @@
+# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
+# Contributor: Kevin Azzam <aur at kevin.azz.am>
+# Contributor: Ye Shu <shuye02 at outlook.com>
+
+pkgname=onionshare
+pkgver=2.4
+pkgrel=1
+pkgdesc='Share a file over Tor Hidden Services anonymously and securely'
+url='https://github.com/onionshare/onionshare'
+arch=('any')
+license=('GPL3')
+depends=('python' 'hicolor-icon-theme' 'tor' 'stem' 'python-requests' 'python-pysocks' 'python-flask' 'python-flask-httpauth' 'python-flask-socketio' 'python-psutil' 'python-pycryptodome' 'python-pyqt5' 'python-qrcode' 'python-unidecode' 'python-colorama' 'pyside2')
+makedepends=('python-setuptools')
+optdepends=(
+  'python-nautilus: enable Nautilus right-click extension'
+)
+checkdepends=('python-pytest')
+source=(https://github.com/onionshare/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz
+        https://github.com/onionshare/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz.asc
+)
+sha512sums=('ce73d5d9a7a1b1c2e70ad302e251199308cb7c9af194254e28e2a5698bd782f16dab227979efb08c2931c5280270f657d64e5ab8a9f93341649047163d5d55fa'
+            'SKIP')
+b2sums=('aa0aee4b25a421830ee2202c0b73a6a3b358b534048ae24a72e55970d0dc2e9e5254b688d94deed9736e1a43ec6e07b239f2359b496d82dc1f59edbf37e392cc'
+        'SKIP')
+
+validpgpkeys=('927F419D7EC82C2F149C1BD1403C2657CD994F73')
+
+build() {
+  cd ${pkgname}/cli
+  python setup.py build
+  cd ../desktop/src
+  python setup.py build
+}
+
+check() {
+  cd ${pkgname}
+  pushd cli
+  PYTHONPATH=".:${PYTHONPATH}" pytest tests/
+  popd
+  pushd desktop
+  #PYTHONPATH="src:../cli:${PYTHONPATH}" pytest tests/
+}
+
+package() {
+  cd ${pkgname}/cli
+  python setup.py install --skip-build -O1 --root="${pkgdir}"
+  cd ../desktop/src
+  python setup.py install --skip-build -O1 --root="${pkgdir}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list