[arch-commits] Commit in deluge/repos/extra-any (9 files)
Jan Steffens
heftig at archlinux.org
Sat Dec 16 02:39:04 UTC 2017
Date: Saturday, December 16, 2017 @ 02:39:03
Author: heftig
Revision: 312956
archrelease: copy trunk to extra-any
Added:
deluge/repos/extra-any/PKGBUILD
(from rev 312955, deluge/trunk/PKGBUILD)
deluge/repos/extra-any/deluge-web.service
(from rev 312955, deluge/trunk/deluge-web.service)
deluge/repos/extra-any/deluged.service
(from rev 312955, deluge/trunk/deluged.service)
deluge/repos/extra-any/untag-build.patch
(from rev 312955, deluge/trunk/untag-build.patch)
Deleted:
deluge/repos/extra-any/PKGBUILD
deluge/repos/extra-any/deluge-web.service
deluge/repos/extra-any/deluge.install
deluge/repos/extra-any/deluged.service
deluge/repos/extra-any/untag-build.patch
--------------------+
PKGBUILD | 115 +++++++++++++++++++++++++--------------------------
deluge-web.service | 20 ++++----
deluge.install | 7 ---
deluged.service | 22 ++++-----
untag-build.patch | 20 ++++----
5 files changed, 89 insertions(+), 95 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-16 02:38:14 UTC (rev 312955)
+++ PKGBUILD 2017-12-16 02:39:03 UTC (rev 312956)
@@ -1,57 +0,0 @@
-# $Id$
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-# Contributor: Hugo Doria <hugo at archlinux.org>
-
-pkgname=deluge
-pkgver=1.3.15+2+g38d7b7cdf
-pkgrel=1
-pkgdesc="A BitTorrent client with multiple user interfaces in a client/server model"
-arch=(any)
-url="http://deluge-torrent.org/"
-license=(GPL3)
-depends=(python2-xdg libtorrent-rasterbar python2-twisted python2-pyopenssl
- python2-chardet python2-setuptools)
-makedepends=(intltool pygtk librsvg python2-mako git)
-optdepends=('python2-notify: libnotify notifications'
- 'pygtk: needed for gtk ui'
- 'librsvg: needed for gtk ui'
- 'python2-mako: needed for web ui')
-install=deluge.install
-_commit=38d7b7cdfde3c50d6263602ffb03af92fcbfa52e # 1.3-stable
-source=("git://git.deluge-torrent.org/deluge.git#commit=$_commit"
- untag-build.patch
- deluged.service deluge-web.service)
-sha256sums=('SKIP'
- 'fbd17f13765f5560bab01a81a42aff0f2f757a4a6fa29379ae31d95b9721e4f2'
- '58a451bb6cf4fe6ff78a4fb71d51c5910340a2de032ff435c3c7365015ab538f'
- 'c3f2d6ad5bc9de5ffd9973d92badbe04a9ecf12c0c575e13d505a96add03275a')
-
-prepare() {
- cd $pkgname
- patch -Np1 -i ../untag-build.patch
- sed -i '1s/python$/&2/' \
- deluge/ui/Win32IconImagePlugin.py \
- deluge/ui/web/gen_gettext.py
-}
-
-pkgver() {
- cd $pkgname
- git describe | sed 's/^deluge-//;s/-/+/g'
-}
-
-build() {
- cd $pkgname
- python2 setup.py build
-}
-
-package() {
- cd $pkgname
- python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
-
- install -Dm644 ../deluged.service "$pkgdir/usr/lib/systemd/system/deluged.service"
- install -Dm644 ../deluge-web.service "$pkgdir/usr/lib/systemd/system/deluge-web.service"
-
- install -d "$pkgdir/srv"
- install -d -m 775 -o 125 -g 125 "$pkgdir/srv/deluge"
-}
Copied: deluge/repos/extra-any/PKGBUILD (from rev 312955, deluge/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-12-16 02:39:03 UTC (rev 312956)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Hugo Doria <hugo at archlinux.org>
+
+pkgname=deluge
+pkgver=1.3.15+14+gb8e5ebe82
+pkgrel=1
+pkgdesc="A BitTorrent client with multiple user interfaces in a client/server model"
+arch=(any)
+url="http://deluge-torrent.org/"
+license=(GPL3)
+depends=(python2-xdg libtorrent-rasterbar python2-twisted python2-pyopenssl
+ python2-chardet python2-setuptools)
+makedepends=(intltool pygtk librsvg python2-mako git)
+optdepends=('python2-notify: libnotify notifications'
+ 'pygtk: needed for gtk ui'
+ 'librsvg: needed for gtk ui'
+ 'python2-mako: needed for web ui')
+_commit=b8e5ebe8220c8365e186127e381a2d2dbaf9e460 # 1.3-stable
+source=("git://git.deluge-torrent.org/deluge.git#commit=$_commit"
+ untag-build.patch
+ deluged.service deluge-web.service)
+sha256sums=('SKIP'
+ 'fbd17f13765f5560bab01a81a42aff0f2f757a4a6fa29379ae31d95b9721e4f2'
+ '58a451bb6cf4fe6ff78a4fb71d51c5910340a2de032ff435c3c7365015ab538f'
+ 'c3f2d6ad5bc9de5ffd9973d92badbe04a9ecf12c0c575e13d505a96add03275a')
+
+prepare() {
+ cd $pkgname
+ patch -Np1 -i ../untag-build.patch
+ sed -i '1s/python$/&2/' \
+ deluge/ui/Win32IconImagePlugin.py \
+ deluge/ui/web/gen_gettext.py
+}
+
+pkgver() {
+ cd $pkgname
+ git describe | sed 's/^deluge-//;s/-/+/g'
+}
+
+build() {
+ cd $pkgname
+ python2 setup.py build
+}
+
+package() {
+ cd $pkgname
+ python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+
+ install -Dm644 ../deluged.service "$pkgdir/usr/lib/systemd/system/deluged.service"
+ install -Dm644 ../deluge-web.service "$pkgdir/usr/lib/systemd/system/deluge-web.service"
+
+ echo 'u deluge - "Deluge BitTorrent daemon" /srv/deluge' |
+ install -Dm644 /dev/stdin "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
+ echo 'd /srv/deluge 0775 deluge deluge' |
+ install -Dm644 /dev/stdin "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
+}
Deleted: deluge-web.service
===================================================================
--- deluge-web.service 2017-12-16 02:38:14 UTC (rev 312955)
+++ deluge-web.service 2017-12-16 02:39:03 UTC (rev 312956)
@@ -1,10 +0,0 @@
-[Unit]
-Description=Deluge WebUI
-After=deluged.service
-
-[Service]
-User=deluge
-ExecStart=/usr/bin/deluge-web
-
-[Install]
-WantedBy=multi-user.target
Copied: deluge/repos/extra-any/deluge-web.service (from rev 312955, deluge/trunk/deluge-web.service)
===================================================================
--- deluge-web.service (rev 0)
+++ deluge-web.service 2017-12-16 02:39:03 UTC (rev 312956)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Deluge WebUI
+After=deluged.service
+
+[Service]
+User=deluge
+ExecStart=/usr/bin/deluge-web
+
+[Install]
+WantedBy=multi-user.target
Deleted: deluge.install
===================================================================
--- deluge.install 2017-12-16 02:38:14 UTC (rev 312955)
+++ deluge.install 2017-12-16 02:39:03 UTC (rev 312956)
@@ -1,7 +0,0 @@
-post_install() {
- if ! getent passwd deluge &>/dev/null; then
- groupadd -g 125 deluge
- useradd -c 'Deluge user' -u 125 -g deluge -d /srv/deluge -s /bin/false deluge
- passwd -l deluge &>/dev/null
- fi
-}
Deleted: deluged.service
===================================================================
--- deluged.service 2017-12-16 02:38:14 UTC (rev 312955)
+++ deluged.service 2017-12-16 02:39:03 UTC (rev 312956)
@@ -1,11 +0,0 @@
-[Unit]
-Description=Deluge Daemon
-After=network.target
-
-[Service]
-User=deluge
-ExecStart=/usr/bin/deluged -d
-UMask=0002
-
-[Install]
-WantedBy=multi-user.target
Copied: deluge/repos/extra-any/deluged.service (from rev 312955, deluge/trunk/deluged.service)
===================================================================
--- deluged.service (rev 0)
+++ deluged.service 2017-12-16 02:39:03 UTC (rev 312956)
@@ -0,0 +1,11 @@
+[Unit]
+Description=Deluge Daemon
+After=network.target
+
+[Service]
+User=deluge
+ExecStart=/usr/bin/deluged -d
+UMask=0002
+
+[Install]
+WantedBy=multi-user.target
Deleted: untag-build.patch
===================================================================
--- untag-build.patch 2017-12-16 02:38:14 UTC (rev 312955)
+++ untag-build.patch 2017-12-16 02:39:03 UTC (rev 312956)
@@ -1,10 +0,0 @@
-diff --git i/setup.cfg w/setup.cfg
-index 2dfe955fdbcb5f63..8d568e8ce4785fbb 100644
---- i/setup.cfg
-+++ w/setup.cfg
-@@ -1,5 +1,4 @@
- [egg_info]
--tag_build = -dev
- tag_svn_revision = false
-
- [build_docs]
Copied: deluge/repos/extra-any/untag-build.patch (from rev 312955, deluge/trunk/untag-build.patch)
===================================================================
--- untag-build.patch (rev 0)
+++ untag-build.patch 2017-12-16 02:39:03 UTC (rev 312956)
@@ -0,0 +1,10 @@
+diff --git i/setup.cfg w/setup.cfg
+index 2dfe955fdbcb5f63..8d568e8ce4785fbb 100644
+--- i/setup.cfg
++++ w/setup.cfg
+@@ -1,5 +1,4 @@
+ [egg_info]
+-tag_build = -dev
+ tag_svn_revision = false
+
+ [build_docs]
More information about the arch-commits
mailing list