[arch-commits] Commit in tribler/trunk (PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Sat Feb 15 21:45:31 UTC 2020


    Date: Saturday, February 15, 2020 @ 21:45:31
  Author: ffy00
Revision: 571874

upgpkg: tribler 7.4.3-1

Modified:
  tribler/trunk/PKGBUILD

----------+
 PKGBUILD |   30 +++++++++++++-----------------
 1 file changed, 13 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-15 21:36:12 UTC (rev 571873)
+++ PKGBUILD	2020-02-15 21:45:31 UTC (rev 571874)
@@ -1,24 +1,20 @@
 # Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
 
 pkgname=tribler
-pkgver=7.3.2
+pkgver=7.4.3
 pkgrel=1
 pkgdesc='Privacy enhanced BitTorrent client with P2P content discovery'
 url='https://www.tribler.org'
 arch=('any')
 license=('LGPL3')
-depends=('python2-cryptography' 'python2-cherrypy' 'python2-lz4'
-         'python2-pillow' 'python2-pyqt5' 'qt5-svg' 'phonon-qt5-vlc' 'python2-chardet'
-         'python2-psutil' 'python2-meliae' 'python2-decorator' 'python2-netifaces'
-         'python2-twisted' 'libsodium' 'libtorrent-rasterbar' 'python2-configobj'
-         'python2-matplotlib' 'python2-service-identity' 'python2-pony'
-         'python2-libnacl' 'python2-contextlib2' 'python2-zc.lockfile' 'python2-networkx'
-         'python2-m2crypto' 'python2-apsw' 'python2-plyvel' 'python2-feedparser'
-         'python2-pyqtgraph')
-makedepends=('python2-setuptools' 'git')
-#checkdepends=('python2-pytest-runner')
+depends=('python-pyqt5' 'python-aiohttp' 'python-aiohttp-apispec' 'libtorrent-rasterbar'
+         'python-cryptography' 'python-libnacl' 'python-pony' 'python-lz4'
+         'python-psutil' 'python-networkx' 'python-pyqtgraph' 'python-chardet'
+         'python-cherrypy' 'python-configobj' 'python-netifaces' 'python-bitcoinlib')
+makedepends=('python-setuptools' 'git')
+#checkdepends=('python-pytest-runner')
 source=("https://github.com/Tribler/tribler/releases/download/v$pkgver/Tribler-v$pkgver.tar.xz")
-sha512sums=('d1fb490984a43caa70a3648eece79e2810527dd93d372f506f2d5cff049a1e7e032ca937d7f2f0d0fb6d652bd9ed68b7591829e097119a69c5fa1c465f2b3fa0')
+sha512sums=('935a85ec364acd491869d5cc344169671ab8293eea56330841828fc523a709ec2b303a0feb0821fc59cba73260ba778a5363c9c1f3efffa587b07b8f8309b119')
 
 prepare() {
   cd $pkgname
@@ -28,8 +24,8 @@
   sed -i 's|/opt/tribler|/usr/share/tribler|g' systemd/tribler.service
 
   # Fix version info
-  sed -e "s|version_id =.*|version_id = \"${pkgver%_*}-arch\"|g" \
-      -e "s|build_date =.*|build_date = \"unkown\"|g" \
+  sed -e "s|version_id =.*|version_id = \"${pkgver%_*}\"|g" \
+      -e "s|build_date =.*|build_date = \"$SOURCE_DATE_EPOCH\"|g" \
         -i Tribler/Core/version.py
 }
 
@@ -36,13 +32,13 @@
 build () {
   cd $pkgname
 
-  python2 setup.py build
+  python setup.py build
 }
 
 #check() {
 #  cd $pkgname
 #
-#  python2 setup.py test
+#  python setup.py test
 #}
 
 package() {
@@ -49,7 +45,7 @@
   cd $pkgname
 
   # Install python modules
-  python2 setup.py install --root="$pkgdir" --optimize=1
+  python setup.py install --root="$pkgdir" --optimize=1
 
   # Install binary files/assets
   install -dm 755 "$pkgdir"/usr/{bin,share/tribler}



More information about the arch-commits mailing list