summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Alff2020-03-05 22:06:30 -0500
committerTed Alff2020-03-05 22:06:30 -0500
commitb192180e37fda50281c752cb76e98f4b3c7fe017 (patch)
tree8fd0ff584bc2747a5567096f51aa48114ae4340b
parent01adb3fd0a87734d86e7d97e3c86ebe0ff22c932 (diff)
downloadaur-b192180e37fda50281c752cb76e98f4b3c7fe017.tar.gz
Update for python3
-rw-r--r--.SRCINFO32
-rw-r--r--PKGBUILD37
2 files changed, 40 insertions, 29 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 468400d530d..86168300349 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,38 +1,42 @@
pkgbase = exaile-git
pkgdesc = music player for gnome, similar to KDEs amarok
- pkgver = 4.0.0rc5+0+g449775a8
+ pkgver = 4.0.2+205+gcf9b3e59
pkgrel = 1
epoch = 1
- url = http://www.exaile.org
+ url = https://www.exaile.org
arch = any
license = GPL
+ checkdepends = python-mox3
+ checkdepends = python-pytest
makedepends = git
+ makedepends = help2man
depends = gtk3
- depends = python2-mutagen
- depends = python2-dbus
- depends = python2-gobject
- depends = python2-cairo
+ depends = python-bsddb
+ depends = python-mutagen
+ depends = python-dbus
+ depends = python-gobject
+ depends = python-cairo
depends = udisks2
depends = librsvg
depends = gst-plugins-good
- optdepends = python2-feedparser: podcasts plugin
+ optdepends = python-feedparser: podcasts plugin
optdepends = webkit2gtk: wikipedia plugin
- optdepends = python2-lxml: LyricsMania plugin
- optdepends = cddb-py: look up CD tags
+ optdepends = python-lxml: LyricsMania plugin
optdepends = libkeybinder3: Multimedia keys plugin
- optdepends = python2-beautifulsoup4: Lyrics Wiki plugin
+ optdepends = python-beautifulsoup4: Lyrics Wiki plugin
optdepends = libnotify: Notify plugin
optdepends = streamripper: Streamripper plugin
optdepends = gnome-screensaver: Pause on screensaver plugin
optdepends = mate-screensaver: Pause on screensaver plugin
optdepends = cinnamon-screensaver: Pause on screensaver plugin
- optdepends = python2-musicbrainzngs: Musicbrainz cover search plugin
- optdepends = ipython2: Ipython console plugin
- optdepends = python2-pylast: Last.fm loved tracks plugin
+ optdepends = moodbar: Moodbar plugin
+ optdepends = python-musicbrainzngs: Musicbrainz cover search plugin
+ optdepends = ipython: Ipython console plugin
+ optdepends = python-pylast: Last.fm loved tracks plugin
optdepends = gst-plugins-bad: Additional audio codecs
optdepends = gst-plugins-ugly: Additional audio codecs
optdepends = spydaap-git: DAAP server/client
- provides = exaile=4.0.0rc5
+ provides = exaile=4.0.2
conflicts = exaile
source = exaile::git+https://github.com/exaile/exaile.git
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 7ed8fc98ff6..9d1ad9e4af0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,33 +4,35 @@
_pkgname=exaile
pkgname=${_pkgname}-git
epoch=1
-pkgver=4.0.0rc5+0+g449775a8
+pkgver=4.0.2+205+gcf9b3e59
pkgrel=1
pkgdesc="music player for gnome, similar to KDEs amarok"
arch=('any')
-url="http://www.exaile.org"
+url="https://www.exaile.org"
license=('GPL')
-depends=('gtk3' 'python2-mutagen' 'python2-dbus' 'python2-gobject'
- 'python2-cairo' 'udisks2' 'librsvg' 'gst-plugins-good')
-makedepends=('git')
-optdepends=('python2-feedparser: podcasts plugin'
+depends=('gtk3' 'python-bsddb' 'python-mutagen' 'python-dbus' 'python-gobject'
+ 'python-cairo' 'udisks2' 'librsvg' 'gst-plugins-good')
+makedepends=('git' 'help2man')
+optdepends=('python-feedparser: podcasts plugin'
'webkit2gtk: wikipedia plugin'
- 'python2-lxml: LyricsMania plugin'
- 'cddb-py: look up CD tags'
+ 'python-lxml: LyricsMania plugin'
+# 'cddb-py: look up CD tags' #from DEPS: (TODO: This is currently broken on python3, see #608 and #652)
'libkeybinder3: Multimedia keys plugin'
- 'python2-beautifulsoup4: Lyrics Wiki plugin'
+ 'python-beautifulsoup4: Lyrics Wiki plugin'
'libnotify: Notify plugin'
'streamripper: Streamripper plugin'
'gnome-screensaver: Pause on screensaver plugin'
'mate-screensaver: Pause on screensaver plugin'
'cinnamon-screensaver: Pause on screensaver plugin'
- 'python2-musicbrainzngs: Musicbrainz cover search plugin'
- 'ipython2: Ipython console plugin'
- 'python2-pylast: Last.fm loved tracks plugin'
+ 'moodbar: Moodbar plugin'
+ 'python-musicbrainzngs: Musicbrainz cover search plugin'
+ 'ipython: Ipython console plugin'
+ 'python-pylast: Last.fm loved tracks plugin'
'gst-plugins-bad: Additional audio codecs'
'gst-plugins-ugly: Additional audio codecs'
'spydaap-git: DAAP server/client')
-
+checkdepends=('python-mox3'
+ 'python-pytest')
provides=("${_pkgname}=${pkgver%%+*}")
conflicts=("${_pkgname}")
source=("${_pkgname}"::git+https://github.com/exaile/exaile.git)
@@ -43,11 +45,16 @@ pkgver() {
build() {
cd "${_pkgname}"
- make
+ make PREFIX="/usr"
+
+}
+
+check() {
+ cd "${_pkgname}"
+ make PYTEST="py.test" test
}
package() {
cd "${_pkgname}"
make DESTDIR="$pkgdir/" PREFIX="/usr" install
- make clean
}