[arch-commits] Commit in tribler/trunk (PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Tue Oct 15 13:57:06 UTC 2019
Date: Tuesday, October 15, 2019 @ 13:57:05
Author: ffy00
Revision: 516130
upgpkg: tribler 7.3.1-1
Fixed reproducability.
Modified:
tribler/trunk/PKGBUILD
----------+
PKGBUILD | 19 ++++++++++++++-----
1 file changed, 14 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-15 13:51:24 UTC (rev 516129)
+++ PKGBUILD 2019-10-15 13:57:05 UTC (rev 516130)
@@ -1,7 +1,7 @@
# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
pkgname=tribler
-pkgver=7.3.0
+pkgver=7.3.1
pkgrel=1
pkgdesc='Privacy enhanced BitTorrent client with P2P content discovery'
url='https://www.tribler.org'
@@ -13,10 +13,12 @@
'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-m2crypto' 'python2-apsw' 'python2-plyvel' 'python2-feedparser'
+ 'python2-pyqtgraph')
makedepends=('python2-setuptools' 'git')
+#checkdepends=('python2-pytest-runner')
source=("https://github.com/Tribler/tribler/releases/download/v$pkgver/Tribler-v$pkgver.tar.xz")
-sha512sums=('3c9cb138f80e5ce8cd6273f9bc3c4f08ca8ec7b187dc9ef128aaed1343e859048e58361ee223da085056affd35ce0af2641408b683e74281d184def62a979c8a')
+sha512sums=('44b2496aad79b5d20783a6add8e12cc99a584e1ef2b79c429b0640054331a41986b9e9ecc2a6e1d95c19b91c5a126a6d31ce48b9357e5ef997a90510b2e706c3')
prepare() {
cd $pkgname
@@ -27,7 +29,7 @@
# Fix version info
sed -e "s|version_id =.*|version_id = \"${pkgver%_*}-arch\"|g" \
- -e "s|build_date =.*|build_date = \"$(date)\"|g" \
+ -e "s|build_date =.*|build_date = \"unkown\"|g" \
-i Tribler/Core/version.py
}
@@ -37,6 +39,12 @@
python2 setup.py build
}
+#check() {
+# cd $pkgname
+#
+# python2 setup.py test
+#}
+
package() {
cd $pkgname
@@ -61,7 +69,8 @@
cp -dr --no-preserve=ownership twisted "$pkgdir"/usr/share/tribler
# Remove test folders
- find "$pkgdir" -type d -name "test" -name "tests" -exec rm -rf {} \;
+ rm -rf "$pkgdir"/usr/lib/python*/site-packages/Tribler/Test
+ rm -rf "$pkgdir"/usr/share/tribler/Tribler/Test
# Install systemd files
install -Dm 644 systemd/anontunnel_helper at .service "$pkgdir"/usr/lib/systemd/system/anontunnel_helper at .service
More information about the arch-commits
mailing list