[arch-commits] Commit in subdownloader/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Thu Jul 19 19:28:57 UTC 2018
Date: Thursday, July 19, 2018 @ 19:28:57
Author: dvzrv
Revision: 362446
archrelease: copy trunk to community-any
Added:
subdownloader/repos/community-any/PKGBUILD
(from rev 362445, subdownloader/trunk/PKGBUILD)
Deleted:
subdownloader/repos/community-any/PKGBUILD
----------+
PKGBUILD | 119 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 60 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-19 19:28:47 UTC (rev 362445)
+++ PKGBUILD 2018-07-19 19:28:57 UTC (rev 362446)
@@ -1,59 +0,0 @@
-# $Id$
-# Maintainer: David Runge <dave at sleepmap.de>
-# Contributor: Ray Rashif <schiv at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Geoffroy Carrier <geoffroy.carrier at koon.fr>
-# Contributor: Thomas Jost <thomas.jost at gmail.com>
-
-pkgname=subdownloader
-pkgver=2.1.0rc4
-pkgrel=1
-pkgdesc="Automatic download/upload of subtitles using fast hashing"
-arch=('any')
-url="https://github.com/subdownloader/subdownloader"
-license=('GPL3')
-depends=('python-argcomplete' 'python-argparse' 'python-commonmark' 'python-langdetect' 'python-progressbar' 'python-pyqt5' 'python-pymediainfo' 'python-setuptools' 'python-sip')
-makedepends=('python-sphinx')
-checkdepends=('python-pytest')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz")
-sha512sums=('99946402622db535c5261324b2b39986ab0b9e433a459f3b9100ec2fe3ddf4159de591ac472de7ea438a0a2ecfdd60fd88c2a1c3e827c7e642be7f2dbde5ac65')
-
-build(){
- cd "${pkgname}-${pkgver}"
- python setup.py build
- python setup.py build_sphinx
-}
-
-check() {
- cd "${pkgname}-${pkgver}"
- export PYTHONPATH="${srcdir}/${pkgname}-${pkgver}/build/lib/":${PYTHONPATH}
- python setup.py test
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
- python setup.py install --skip-build \
- --optimize=1 \
- --prefix=/usr \
- --root="${pkgdir}"
-
- # man page
- install -vDm644 "build/sphinx/man/${pkgname}.1" \
- "${pkgdir}/usr/share/man/man1/${pkgname}.1"
-
- # freedesktop.org
- install -vDm644 "${pkgname}.desktop" \
- "${pkgdir}/usr/share/applications/${pkgname}.desktop"
- install -vDm644 "scripts/gui/rc/images/${pkgname}.png" \
- "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
-
- # docs
- install -t "${pkgdir}/usr/share/doc/${pkgname}" \
- -vDm644 {ChangeLog,README.md} \
-
- # remove broken PyQt5 detection: https://github.com/subdownloader/subdownloader/issues/25
- sed -e '/PyQt5/d' \
- -i "${pkgdir}/usr/lib/python3.6/site-packages/SubDownloader-${pkgver}-py3.6.egg-info/requires.txt"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: subdownloader/repos/community-any/PKGBUILD (from rev 362445, subdownloader/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-07-19 19:28:57 UTC (rev 362446)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Ray Rashif <schiv at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Geoffroy Carrier <geoffroy.carrier at koon.fr>
+# Contributor: Thomas Jost <thomas.jost at gmail.com>
+
+pkgname=subdownloader
+pkgver=2.1.0rc4
+pkgrel=2
+pkgdesc="Automatic download/upload of subtitles using fast hashing"
+arch=('any')
+url="https://github.com/subdownloader/subdownloader"
+license=('GPL3')
+depends=('python-argcomplete' 'python-argparse' 'python-commonmark'
+'python-langdetect' 'python-progressbar' 'python-pyqt5' 'python-pymediainfo'
+'python-setuptools' 'python-sip')
+makedepends=('python-sphinx')
+checkdepends=('python-pytest')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz")
+sha512sums=('99946402622db535c5261324b2b39986ab0b9e433a459f3b9100ec2fe3ddf4159de591ac472de7ea438a0a2ecfdd60fd88c2a1c3e827c7e642be7f2dbde5ac65')
+
+build(){
+ cd "${pkgname}-${pkgver}"
+ python setup.py build
+ python setup.py build_sphinx
+}
+
+check() {
+ cd "${pkgname}-${pkgver}"
+ py.test
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --prefix=/usr \
+ --root="${pkgdir}"
+
+ # man page
+ install -vDm 644 "build/sphinx/man/${pkgname}.1" \
+ "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+
+ # freedesktop.org
+ install -vDm 644 "${pkgname}.desktop" \
+ "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+ install -vDm 644 "scripts/gui/rc/images/${pkgname}.png" \
+ "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
+
+ # docs
+ install -t "${pkgdir}/usr/share/doc/${pkgname}" \
+ -vDm 644 {ChangeLog,README.md} \
+
+ # remove broken PyQt5 detection: https://github.com/subdownloader/subdownloader/issues/25
+ sed -e '/PyQt5/d' \
+ -i "${pkgdir}/usr/lib/python3.6/site-packages/SubDownloader-${pkgver}-py3.6.egg-info/requires.txt"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list