[arch-commits] Commit in calibre/repos (10 files)
Date: Friday, July 24, 2015 @ 22:25:35 Author: arojas Revision: 137396 archrelease: copy trunk to community-i686, community-x86_64 Added: calibre/repos/community-i686/PKGBUILD (from rev 137395, calibre/trunk/PKGBUILD) calibre/repos/community-i686/calibre.install (from rev 137395, calibre/trunk/calibre.install) calibre/repos/community-x86_64/PKGBUILD (from rev 137395, calibre/trunk/PKGBUILD) calibre/repos/community-x86_64/calibre.install (from rev 137395, calibre/trunk/calibre.install) Deleted: calibre/repos/community-i686/PKGBUILD calibre/repos/community-i686/calibre.install calibre/repos/community-i686/pyqt5.5.patch calibre/repos/community-x86_64/PKGBUILD calibre/repos/community-x86_64/calibre.install calibre/repos/community-x86_64/pyqt5.5.patch --+ /PKGBUILD| 176 + /calibre.install | 24 + community-i686/PKGBUILD | 91 --- community-i686/calibre.install | 12 -- community-i686/pyqt5.5.patch | 55 --- community-x86_64/PKGBUILD| 91 --- community-x86_64/calibre.install | 12 -- community-x86_64/pyqt5.5.patch | 55 --- 8 files changed, 200 insertions(+), 316 deletions(-) Deleted: community-i686/PKGBUILD === --- community-i686/PKGBUILD 2015-07-24 20:25:03 UTC (rev 137395) +++ community-i686/PKGBUILD 2015-07-24 20:25:35 UTC (rev 137396) @@ -1,91 +0,0 @@ -# $Id$ -# Maintainer: Jelle van der Waa -# Maintainer: Daniel Wallace -# Contributor: Giovanni Scafora -# Contributor: Petrov Roman -# Contributor: Andrea Fagiani -# Contributor: Larry Hajali - -pkgname=calibre -pkgver=2.32.1 -pkgrel=2 -pkgdesc="Ebook management application" -arch=('i686' 'x86_64') -url="http://calibre-ebook.com/"; -license=('GPL3') -depends=('python2-six' 'python2-dateutil' 'python2-cssutils' 'python2-cherrypy' - 'python2-mechanize' 'podofo' 'libwmf' - 'imagemagick' 'chmlib' 'python2-lxml' 'libusbx' - 'python2-pillow' 'shared-mime-info' 'python2-dnspython' - 'python2-pyqt5' 'python2-psutil' 'icu' 'libmtp' 'python2-dbus' - 'python2-netifaces' 'python2-cssselect' 'python2-apsw' 'qt5-webkit' - 'qt5-svg' 'python2-chardet' 'python2-html5lib' 'python2-pygments' 'mtdev') -makedepends=('python2-pycountry' 'qt5-x11extras' ) -optdepends=('ipython2: to use calibre-debug' -'udisks: required for mounting certain devices' -) -install=calibre.install -source=("http://download.calibre-ebook.com/${pkgver}/calibre-${pkgver}.tar.xz"; "pyqt5.5.patch") -md5sums=('54e8bcfdf1e74595bd7611dd61bac20a' - 'bec94ae1af7725c2ddc5981e606a3906') - -prepare(){ - cd "${srcdir}/${pkgname}-${pkgver}" - - # Remove unneeded files and libs - rm -rf resources/${pkgname}-portable.* \ - src/cherrypy \ - src/html5lib \ - src/chardet - - patch -Np1 -i $srcdir/pyqt5.5.patch - - sed -i "s/shlex.split(ldflags)/& + ['-fPIC']/" setup/extensions.py - - # Use python2 - sed -i 's:\(env[ ]\+python$\|/usr/bin/python$\):\12:g' $(find . -regex ".*\.py\|.*\.recipe") - - # Desktop integration (e.g. enforce arch defaults) - sed -e "/self.create_uninstaller()/,/os.rmdir(config_dir)/d" \ - -e "/\(cc('xdg-icon-resource\|self.icon_resources.append\|'128'))\)/d" \ - -e "/render_img/ s/\('calibre-.*\.png'\)/os.path.join(dir, \1)/g" \ - -e "/dir, 'calibre-lrf.png'/i \ -\dir = os.path.join(self.opts.staging_sharedir,'../pixmaps')\n\ -\os.mkdir(dir)" \ - -e "/f = open/ s/\('calibre-.*\.desktop'\)/os.path.join(dir, \1)/g" \ - -e "/dir, 'calibre-lrfviewer.desktop'/i \ -\dir = os.path.join(self.opts.staging_sharedir,'../applications')\n\ -\os.mkdir(dir)" \ - -e "s/'ctc-posml'/'text' not in mt and 'pdf' not in mt and 'xhtml'/" \ - -e "s/^Name=calibre/Name=Calibre/g" \ - -i src/calibre/linux.py -} - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - LANG='en_US.UTF-8' python2 setup.py build - # LANG='en_US.UTF-8' python2 setup.py resources - - # Don't build translations since building them is broken badly - #LANG='en_US.UTF-8' python2 setup.py translations -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - - # Fix the environment module location - sed -i -e "s|(prefix=.*)|(prefix='$pkgdir/usr')|g" setup/install.py - - install -d "${pkgdir}/usr/lib/python2.7/site-packages" \ - "${pkgdir}/usr/share/zsh/site-functions" - - LANG='en_US.UTF-8' python2 setup.py install --root="${pkgdir}" --prefix=/usr \ ---staging-bindir="${pkgdir}/usr/bin" \ ---staging-libdir="${pkgdir}/usr/lib" \ ---staging-sharedir="${pkgdir}/usr/share" - - # Compiling bytecode FS#33392 - python2 -m compileall "${pkgdir}/usr/lib/calibre/" - python2 -O -m compileall "${pkgdir}/
[arch-commits] Commit in calibre/repos (10 files)
Date: Thursday, July 23, 2015 @ 10:30:58 Author: jelle Revision: 137301 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: calibre/repos/community-testing-i686/ calibre/repos/community-testing-i686/PKGBUILD (from rev 137300, calibre/trunk/PKGBUILD) calibre/repos/community-testing-i686/calibre.install (from rev 137300, calibre/trunk/calibre.install) calibre/repos/community-testing-i686/pyqt5.5.patch (from rev 137300, calibre/trunk/pyqt5.5.patch) calibre/repos/community-testing-x86_64/PKGBUILD (from rev 137300, calibre/trunk/PKGBUILD) calibre/repos/community-testing-x86_64/calibre.install (from rev 137300, calibre/trunk/calibre.install) calibre/repos/community-testing-x86_64/pyqt5.5.patch (from rev 137300, calibre/trunk/pyqt5.5.patch) Deleted: calibre/repos/community-testing-x86_64/PKGBUILD calibre/repos/community-testing-x86_64/calibre.install calibre/repos/community-testing-x86_64/pyqt5.5.patch --+ /PKGBUILD| 91 + /calibre.install | 12 +++ /pyqt5.5.patch | 55 + community-testing-i686/PKGBUILD | 91 + community-testing-i686/calibre.install | 12 +++ community-testing-i686/pyqt5.5.patch | 55 + community-testing-x86_64/PKGBUILD| 91 - community-testing-x86_64/calibre.install | 12 --- community-testing-x86_64/pyqt5.5.patch | 55 - 9 files changed, 316 insertions(+), 158 deletions(-) Copied: calibre/repos/community-testing-i686/PKGBUILD (from rev 137300, calibre/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2015-07-23 08:30:58 UTC (rev 137301) @@ -0,0 +1,91 @@ +# $Id$ +# Maintainer: Jelle van der Waa +# Maintainer: Daniel Wallace +# Contributor: Giovanni Scafora +# Contributor: Petrov Roman +# Contributor: Andrea Fagiani +# Contributor: Larry Hajali + +pkgname=calibre +pkgver=2.32.1 +pkgrel=2 +pkgdesc="Ebook management application" +arch=('i686' 'x86_64') +url="http://calibre-ebook.com/"; +license=('GPL3') +depends=('python2-six' 'python2-dateutil' 'python2-cssutils' 'python2-cherrypy' + 'python2-mechanize' 'podofo' 'libwmf' + 'imagemagick' 'chmlib' 'python2-lxml' 'libusbx' + 'python2-pillow' 'shared-mime-info' 'python2-dnspython' + 'python2-pyqt5' 'python2-psutil' 'icu' 'libmtp' 'python2-dbus' + 'python2-netifaces' 'python2-cssselect' 'python2-apsw' 'qt5-webkit' + 'qt5-svg' 'python2-chardet' 'python2-html5lib' 'python2-pygments' 'mtdev') +makedepends=('python2-pycountry' 'qt5-x11extras' ) +optdepends=('ipython2: to use calibre-debug' +'udisks: required for mounting certain devices' +) +install=calibre.install +source=("http://download.calibre-ebook.com/${pkgver}/calibre-${pkgver}.tar.xz"; "pyqt5.5.patch") +md5sums=('54e8bcfdf1e74595bd7611dd61bac20a' + 'bec94ae1af7725c2ddc5981e606a3906') + +prepare(){ + cd "${srcdir}/${pkgname}-${pkgver}" + + # Remove unneeded files and libs + rm -rf resources/${pkgname}-portable.* \ + src/cherrypy \ + src/html5lib \ + src/chardet + + patch -Np1 -i $srcdir/pyqt5.5.patch + + sed -i "s/shlex.split(ldflags)/& + ['-fPIC']/" setup/extensions.py + + # Use python2 + sed -i 's:\(env[ ]\+python$\|/usr/bin/python$\):\12:g' $(find . -regex ".*\.py\|.*\.recipe") + + # Desktop integration (e.g. enforce arch defaults) + sed -e "/self.create_uninstaller()/,/os.rmdir(config_dir)/d" \ + -e "/\(cc('xdg-icon-resource\|self.icon_resources.append\|'128'))\)/d" \ + -e "/render_img/ s/\('calibre-.*\.png'\)/os.path.join(dir, \1)/g" \ + -e "/dir, 'calibre-lrf.png'/i \ +\dir = os.path.join(self.opts.staging_sharedir,'../pixmaps')\n\ +\os.mkdir(dir)" \ + -e "/f = open/ s/\('calibre-.*\.desktop'\)/os.path.join(dir, \1)/g" \ + -e "/dir, 'calibre-lrfviewer.desktop'/i \ +\dir = os.path.join(self.opts.staging_sharedir,'../applications')\n\ +\os.mkdir(dir)" \ + -e "s/'ctc-posml'/'text' not in mt and 'pdf' not in mt and 'xhtml'/" \ + -e "s/^Name=calibre/Name=Calibre/g" \ + -i src/calibre/linux.py +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + LANG='en_US.UTF-8' python2 setup.py build + # LANG='en_US.UTF-8' python2 setup.py resources + + # Don't build translations since building them is broken badly + #LANG='en_US.UTF-8' python2 setup.py translations +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + # Fix the environment module location + sed -i -e "s|(prefix=.*)|(prefix='$pkgdir/usr')|g" setup/install.py + + install -d "${pkgdir}/usr/lib/
[arch-commits] Commit in calibre/repos (10 files)
Date: Sunday, April 12, 2015 @ 20:19:00 Author: jelle Revision: 131254 archrelease: copy trunk to community-i686, community-x86_64 Added: calibre/repos/community-i686/PKGBUILD (from rev 131253, calibre/trunk/PKGBUILD) calibre/repos/community-i686/calibre.install (from rev 131253, calibre/trunk/calibre.install) calibre/repos/community-x86_64/PKGBUILD (from rev 131253, calibre/trunk/PKGBUILD) calibre/repos/community-x86_64/calibre.install (from rev 131253, calibre/trunk/calibre.install) Deleted: calibre/repos/community-i686/PKGBUILD calibre/repos/community-i686/calibre.install calibre/repos/community-i686/incompatibility-pyqt5.4.1.patch calibre/repos/community-x86_64/PKGBUILD calibre/repos/community-x86_64/calibre.install calibre/repos/community-x86_64/incompatibility-pyqt5.4.1.patch --+ /PKGBUILD| 176 + /calibre.install | 24 ++ community-i686/PKGBUILD | 88 -- community-i686/calibre.install | 12 - community-i686/incompatibility-pyqt5.4.1.patch | 28 --- community-x86_64/PKGBUILD| 88 -- community-x86_64/calibre.install | 12 - community-x86_64/incompatibility-pyqt5.4.1.patch | 28 --- 8 files changed, 200 insertions(+), 256 deletions(-) Deleted: community-i686/PKGBUILD === --- community-i686/PKGBUILD 2015-04-12 18:18:04 UTC (rev 131253) +++ community-i686/PKGBUILD 2015-04-12 18:19:00 UTC (rev 131254) @@ -1,88 +0,0 @@ -# $Id$ -# Maintainer: Jelle van der Waa -# Maintainer: Daniel Wallace -# Contributor: Giovanni Scafora -# Contributor: Petrov Roman -# Contributor: Andrea Fagiani -# Contributor: Larry Hajali - -pkgname=calibre -pkgver=2.23.0 -pkgrel=2 -pkgdesc="Ebook management application" -arch=('i686' 'x86_64') -url="http://calibre-ebook.com/"; -license=('GPL3') -depends=('python2-six' 'python2-dateutil' 'python2-cssutils' 'python2-cherrypy' - 'python2-mechanize' 'podofo' 'libwmf' - 'imagemagick' 'chmlib' 'python2-lxml' 'libusbx' - 'python2-pillow' 'shared-mime-info' 'python2-dnspython' - 'python2-pyqt5' 'python2-psutil' 'icu' 'libmtp' 'python2-dbus' - 'python2-netifaces' 'python2-cssselect' 'python2-apsw' 'qt5-webkit' - 'qt5-svg' 'python2-chardet' 'python2-html5lib' 'python2-pygments' 'mtdev') -makedepends=('python2-pycountry' 'qt5-x11extras' ) -optdepends=('ipython2: to use calibre-debug' -'udisks: required for mounting certain devices' -) -install=calibre.install -source=("http://download.calibre-ebook.com/${pkgver}/calibre-${pkgver}.tar.xz";) -md5sums=('096bb1c01bfe98fce3647e78c8d594ca') - -prepare(){ - cd "${srcdir}/${pkgname}-${pkgver}" - - # Remove unneeded files and libs - rm -rf resources/${pkgname}-portable.* \ - src/cherrypy \ - src/html5lib \ - src/chardet - - sed -i "s/shlex.split(ldflags)/& + ['-fPIC']/" setup/extensions.py - - # Use python2 - sed -i 's:\(env[ ]\+python$\|/usr/bin/python$\):\12:g' $(find . -regex ".*\.py\|.*\.recipe") - - # Desktop integration (e.g. enforce arch defaults) - sed -e "/self.create_uninstaller()/,/os.rmdir(config_dir)/d" \ - -e "/\(cc('xdg-icon-resource\|self.icon_resources.append\|'128'))\)/d" \ - -e "/render_img/ s/\('calibre-.*\.png'\)/os.path.join(dir, \1)/g" \ - -e "/dir, 'calibre-lrf.png'/i \ -\dir = os.path.join(self.opts.staging_sharedir,'../pixmaps')\n\ -\os.mkdir(dir)" \ - -e "/f = open/ s/\('calibre-.*\.desktop'\)/os.path.join(dir, \1)/g" \ - -e "/dir, 'calibre-lrfviewer.desktop'/i \ -\dir = os.path.join(self.opts.staging_sharedir,'../applications')\n\ -\os.mkdir(dir)" \ - -e "s/'ctc-posml'/'text' not in mt and 'pdf' not in mt and 'xhtml'/" \ - -e "s/^Name=calibre/Name=Calibre/g" \ - -i src/calibre/linux.py -} - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - LANG='en_US.UTF-8' python2 setup.py build - # LANG='en_US.UTF-8' python2 setup.py resources - - # Don't build translations since building them is broken badly - #LANG='en_US.UTF-8' python2 setup.py translations -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - - # Fix the environment module location - sed -i -e "s|(prefix=.*)|(prefix='$pkgdir/usr')|g" setup/install.py - - install -d "${pkgdir}/usr/lib/python2.7/site-packages" \ - "${pkgdir}/usr/share/zsh/site-functions" - - LANG='en_US.UTF-8' python2 setup.py install --root="${pkgdir}" --prefix=/usr \ ---staging-bindir="${pkgdir}/usr/bin" \ ---staging-libdir="${pkgdir}/usr/lib" \ ---staging-sharedir="${pkgdir}/usr/share" - - # Compiling bytecode FS#33392 - python2 -m compileall "${pkgdir}/usr/lib/calibre/" - python2 -O -m
[arch-commits] Commit in calibre/repos (10 files)
Date: Sunday, March 8, 2015 @ 20:48:10 Author: jelle Revision: 128958 archrelease: copy trunk to community-i686, community-x86_64 Added: calibre/repos/community-i686/PKGBUILD (from rev 128957, calibre/trunk/PKGBUILD) calibre/repos/community-i686/calibre.install (from rev 128957, calibre/trunk/calibre.install) calibre/repos/community-i686/incompatibility-pyqt5.4.1.patch (from rev 128957, calibre/trunk/incompatibility-pyqt5.4.1.patch) calibre/repos/community-x86_64/PKGBUILD (from rev 128957, calibre/trunk/PKGBUILD) calibre/repos/community-x86_64/calibre.install (from rev 128957, calibre/trunk/calibre.install) calibre/repos/community-x86_64/incompatibility-pyqt5.4.1.patch (from rev 128957, calibre/trunk/incompatibility-pyqt5.4.1.patch) Deleted: calibre/repos/community-i686/PKGBUILD calibre/repos/community-i686/calibre.install calibre/repos/community-x86_64/PKGBUILD calibre/repos/community-x86_64/calibre.install --+ /PKGBUILD| 184 + /calibre.install | 24 ++ community-i686/PKGBUILD | 91 -- community-i686/calibre.install | 12 - community-i686/incompatibility-pyqt5.4.1.patch | 28 +++ community-x86_64/PKGBUILD| 91 -- community-x86_64/calibre.install | 12 - community-x86_64/incompatibility-pyqt5.4.1.patch | 28 +++ 8 files changed, 264 insertions(+), 206 deletions(-) Deleted: community-i686/PKGBUILD === --- community-i686/PKGBUILD 2015-03-08 19:47:53 UTC (rev 128957) +++ community-i686/PKGBUILD 2015-03-08 19:48:10 UTC (rev 128958) @@ -1,91 +0,0 @@ -# $Id$ -# Maintainer: Jelle van der Waa -# Maintainer: Daniel Wallace -# Contributor: Giovanni Scafora -# Contributor: Petrov Roman -# Contributor: Andrea Fagiani -# Contributor: Larry Hajali - -pkgname=calibre -pkgver=2.20.0 -pkgrel=1 -pkgdesc="Ebook management application" -arch=('i686' 'x86_64') -url="http://calibre-ebook.com/"; -license=('GPL3') -depends=('python2-six' 'python2-dateutil' 'python2-cssutils' 'python2-cherrypy' - 'python2-mechanize' 'podofo' 'libwmf' - 'imagemagick' 'chmlib' 'python2-lxml' 'libusbx' - 'python2-pillow' 'shared-mime-info' 'python2-dnspython' - 'python2-pyqt5' 'python2-psutil' 'icu' 'libmtp' 'python2-dbus' - 'python2-netifaces' 'python2-cssselect' 'python2-apsw' 'qt5-webkit' - 'qt5-svg' 'python2-chardet' 'python2-html5lib' 'python2-pygments' 'mtdev') -makedepends=('python2-pycountry' 'qt5-x11extras' ) -optdepends=('ipython2: to use calibre-debug' -'udisks: required for mounting certain devices' -) -install=calibre.install -source=("http://download.calibre-ebook.com/${pkgver}/calibre-${pkgver}.tar.xz";) -md5sums=('94f033006e6cc7b96abf62944368fc83') - -prepare(){ - cd "${srcdir}/${pkgname}-${pkgver}" - - # Remove unneeded files and libs - rm -rf resources/${pkgname}-portable.* \ - src/six.py \ - src/cherrypy \ - src/html5lib \ - src/chardet - - sed -i "s/shlex.split(ldflags)/& + ['-fPIC']/" setup/extensions.py - #sed -i -e "s/ldflags = shlex.split(ldflags)/ldflags = shlex.split(ldflags) + ['-fPIC']/" setup/extensions.py - - # Use python2 - sed -i 's:\(env[ ]\+python$\|/usr/bin/python$\):\12:g' $(find . -regex ".*\.py\|.*\.recipe") - sed -i "/pyqt_sip_dir/ s:=.*:= '/usr/share/sip/Py2-PyQt5':" setup/build_environment.py - - # Desktop integration (e.g. enforce arch defaults) - sed -e "/self.create_uninstaller()/,/os.rmdir(config_dir)/d" \ - -e "/\(cc('xdg-icon-resource\|self.icon_resources.append\|'128'))\)/d" \ - -e "/render_img/ s/\('calibre-.*\.png'\)/os.path.join(dir, \1)/g" \ - -e "/dir, 'calibre-lrf.png'/i \ -\dir = os.path.join(self.opts.staging_sharedir,'../pixmaps')\n\ -\os.mkdir(dir)" \ - -e "/f = open/ s/\('calibre-.*\.desktop'\)/os.path.join(dir, \1)/g" \ - -e "/dir, 'calibre-lrfviewer.desktop'/i \ -\dir = os.path.join(self.opts.staging_sharedir,'../applications')\n\ -\os.mkdir(dir)" \ - -e "s/'ctc-posml'/'text' not in mt and 'pdf' not in mt and 'xhtml'/" \ - -e "s/^Name=calibre/Name=Calibre/g" \ - -i src/calibre/linux.py -} - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - LANG='en_US.UTF-8' python2 setup.py build - # LANG='en_US.UTF-8' python2 setup.py resources - - # Don't build translations since building them is broken badly - #LANG='en_US.UTF-8' python2 setup.py translations -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - - # Fix the environment module location - sed -i -e "s|(prefix=.*)|(prefix='$pkgdir/usr')|g" setup/install.py - - install -d "${pkgdir}/usr/lib/python2.7/site-packages" \ - "
[arch-commits] Commit in calibre/repos (10 files)
Date: Sunday, August 3, 2014 @ 17:37:09 Author: jelle Revision: 116792 archrelease: copy trunk to community-i686, community-x86_64 Added: calibre/repos/community-i686/PKGBUILD (from rev 116791, calibre/trunk/PKGBUILD) calibre/repos/community-i686/calibre.install (from rev 116791, calibre/trunk/calibre.install) calibre/repos/community-x86_64/PKGBUILD (from rev 116791, calibre/trunk/PKGBUILD) calibre/repos/community-x86_64/calibre.install (from rev 116791, calibre/trunk/calibre.install) Deleted: calibre/repos/community-i686/PKGBUILD calibre/repos/community-i686/calibre.install calibre/repos/community-i686/desktop_integration.patch calibre/repos/community-x86_64/PKGBUILD calibre/repos/community-x86_64/calibre.install calibre/repos/community-x86_64/desktop_integration.patch + /PKGBUILD | 180 +++ /calibre.install | 24 +++ community-i686/PKGBUILD| 89 - community-i686/calibre.install | 12 - community-i686/desktop_integration.patch | 92 - community-x86_64/PKGBUILD | 89 - community-x86_64/calibre.install | 12 - community-x86_64/desktop_integration.patch | 92 - 8 files changed, 204 insertions(+), 386 deletions(-) Deleted: community-i686/PKGBUILD === --- community-i686/PKGBUILD 2014-08-03 15:37:01 UTC (rev 116791) +++ community-i686/PKGBUILD 2014-08-03 15:37:09 UTC (rev 116792) @@ -1,89 +0,0 @@ -# $Id$ -# Maintainer: Jelle van der Waa -# Maintainer: Daniel Wallace -# Contributor: Giovanni Scafora -# Contributor: Petrov Roman -# Contributor: Andrea Fagiani -# Contributor: Larry Hajali - -pkgname=calibre -pkgver=1.204.1 -pkgrel=1 -pkgdesc="Ebook management application" -arch=('i686' 'x86_64') -url="http://calibre-ebook.com/"; -license=('GPL3') -depends=('python2-six' 'python2-dateutil' 'python2-cssutils' 'python2-cherrypy' - 'python2-mechanize' 'podofo' 'libwmf' - 'imagemagick' 'chmlib' 'python2-lxml' 'libusbx' - 'python2-pillow' 'shared-mime-info' 'python2-dnspython' - 'python2-pyqt5' 'python2-psutil' 'pyqt4-common' 'icu' 'libmtp' - 'python2-netifaces' 'python2-cssselect' 'python2-apsw' 'qt5-webkit') -makedepends=('python2-pycountry' 'qt5-x11extras' ) -optdepends=('ipython2: to use calibre-debug') -install=calibre.install -source=("http://download.calibre-ebook.com/betas/calibre-${pkgver}.tar.xz";) -md5sums=('12f63635b7c743da3b4849f3a1e8ee9b') - -prepare(){ - cd "${srcdir}/${pkgname}-${pkgver}" - - # Remove unneeded files and libs - rm -rf resources/${pkgname}-portable.* \ - src/six.py \ - src/cherrypy \ - src/html5lib \ - src/chardet - - sed -i "s/shlex.split(ldflags)/& + ['-fPIC']/" setup/extensions.py - #sed -i -e "s/ldflags = shlex.split(ldflags)/ldflags = shlex.split(ldflags) + ['-fPIC']/" setup/extensions.py - - # Use python2 - sed -i 's:\(env[ ]\+python$\|/usr/bin/python$\):\12:g' $(find . -regex ".*\.py\|.*\.recipe") - sed -i "/pyqt_sip_dir/ s:=.*:= '/usr/share/sip/Py2-PyQt5':" setup/build_environment.py - - # Desktop integration (e.g. enforce arch defaults) - sed -e "/self.create_uninstaller()/,/os.rmdir(config_dir)/d" \ - -e "/\(cc('xdg-icon-resource\|self.icon_resources.append\|'128'))\)/d" \ - -e "/render_img/ s/\('calibre-.*\.png'\)/os.path.join(dir, \1)/g" \ - -e "/dir, 'calibre-lrf.png'/i \ -\dir = os.path.join(self.opts.staging_sharedir,'../pixmaps')\n\ -\os.mkdir(dir)" \ - -e "/f = open/ s/\('calibre-.*\.desktop'\)/os.path.join(dir, \1)/g" \ - -e "/dir, 'calibre-lrfviewer.desktop'/i \ -\dir = os.path.join(self.opts.staging_sharedir,'../applications')\n\ -\os.mkdir(dir)" \ - -e "s/'ctc-posml'/'text' not in mt and 'pdf' not in mt and 'xhtml'/" \ - -e "s/^Name=calibre/Name=Calibre/g" \ - -i src/calibre/linux.py -} - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - LANG='en_US.UTF-8' python2 setup.py build - # LANG='en_US.UTF-8' python2 setup.py resources - - # Don't build translations since building them is broken badly - #LANG='en_US.UTF-8' python2 setup.py translations -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - - # Fix the environment module location - sed -i -e "s|(prefix=.*)|(prefix='$pkgdir/usr')|g" setup/install.py - - install -d "${pkgdir}/usr/lib/python2.7/site-packages" \ - "${pkgdir}/usr/share/zsh/site-functions" - - LANG='en_US.UTF-8' python2 setup.py install --root="${pkgdir}" --prefix=/usr \ ---staging-bindir="${pkgdir}/usr/bin" \ ---staging-libdir="${pkgdir}/usr/lib" \ ---staging-sharedir="${pkgdir}/usr/share" - - # Compiling bytecode FS#33392 - python2 -m compile
[arch-commits] Commit in calibre/repos (10 files)
Date: Sunday, April 6, 2014 @ 15:51:32 Author: jelle Revision: 108881 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: calibre/repos/community-staging-i686/ calibre/repos/community-staging-i686/PKGBUILD (from rev 108880, calibre/trunk/PKGBUILD) calibre/repos/community-staging-i686/calibre-mount-helper (from rev 108880, calibre/trunk/calibre-mount-helper) calibre/repos/community-staging-i686/calibre.install (from rev 108880, calibre/trunk/calibre.install) calibre/repos/community-staging-i686/desktop_integration.patch (from rev 108880, calibre/trunk/desktop_integration.patch) calibre/repos/community-staging-x86_64/ calibre/repos/community-staging-x86_64/PKGBUILD (from rev 108880, calibre/trunk/PKGBUILD) calibre/repos/community-staging-x86_64/calibre-mount-helper (from rev 108880, calibre/trunk/calibre-mount-helper) calibre/repos/community-staging-x86_64/calibre.install (from rev 108880, calibre/trunk/calibre.install) calibre/repos/community-staging-x86_64/desktop_integration.patch (from rev 108880, calibre/trunk/desktop_integration.patch) + community-staging-i686/PKGBUILD| 89 community-staging-i686/calibre-mount-helper| 28 + community-staging-i686/calibre.install | 12 ++ community-staging-i686/desktop_integration.patch | 101 +++ community-staging-x86_64/PKGBUILD | 89 community-staging-x86_64/calibre-mount-helper | 28 + community-staging-x86_64/calibre.install | 12 ++ community-staging-x86_64/desktop_integration.patch | 101 +++ 8 files changed, 460 insertions(+) Copied: calibre/repos/community-staging-i686/PKGBUILD (from rev 108880, calibre/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2014-04-06 13:51:32 UTC (rev 108881) @@ -0,0 +1,89 @@ +# $Id$ +# Maintainer: jelle van der Waa +# Maintainer: Daniel Wallace +# Contributor: Giovanni Scafora +# Contributor: Petrov Roman +# Contributor: Andrea Fagiani +# Contributor: Larry Hajali + +pkgname=calibre +pkgver=1.31.0 +pkgrel=2 +pkgdesc="Ebook management application" +arch=('i686' 'x86_64') +url="http://calibre-ebook.com/"; +license=('GPL3') +depends=('python2-six' 'python2-dateutil' 'python2-cssutils' 'python2-cherrypy' + 'python2-mechanize' 'podofo' 'libwmf' 'python2-beautifulsoup3' + 'imagemagick' 'poppler-qt' 'chmlib' 'python2-lxml' 'libusbx' + 'python2-pillow' 'shared-mime-info' 'python2-dnspython' + 'libunrar' 'python2-pyqt4' 'python2-psutil' 'icu' 'libmtp' + 'python2-netifaces' 'python2-cssselect' 'python2-apsw') +makedepends=('python2-pycountry' 'qt4-private-headers') +optdepends=('ipython2: to use calibre-debug') +install=calibre.install +source=("http://download.calibre-ebook.com/${pkgver}/calibre-${pkgver}.tar.xz"; +'desktop_integration.patch' +'calibre-mount-helper') +md5sums=('c698c904755e72f45830d5b9183c2742' + 'ece36dfd737fa4a346f0a0e59395e949' + '675cd87d41342119827ef706055491e7') + +prepare(){ + cd "${srcdir}/${pkgname}" + #rm -rf src/{cherrypy,pyPdf} + rm -rf src/cherrypy + rm -rf resources/${pkgname}-portable.* + sed -i -e "s/ldflags = shlex.split(ldflags)/ldflags = shlex.split(ldflags) + ['-fPIC']/" setup/extensions.py + + # Fix for calibre-0.8.58 + sed -i -e "s:#!usr:#!/usr:g" src/calibre/ebooks/markdown/extensions/meta.py + + sed -i -e 's:\(#!/usr/bin/env[ ]\+python$\|#![ ]/usr/bin/env[ ]\+python$\|#!/usr/bin/python$\):\12:g' \ +$(find . -regex ".*.py\|.*.recipe") +} + +build() { + cd "${srcdir}/${pkgname}" + + LANG='en_US.UTF-8' python2 setup.py build + # LANG='en_US.UTF-8' python2 setup.py resources + + # Don't build translations since building them is broken badly + #LANG='en_US.UTF-8' python2 setup.py translations +} + +package() { + cd "${srcdir}/${pkgname}" + + patch -Np1 -i "${srcdir}/desktop_integration.patch" + + # More on desktop integration (e.g. enforce arch defaults) + sed -i -e "/self.create_uninstaller()/,/os.rmdir(config_dir)/d" \ + -e "s|self.opts.staging_sharedir, 'man/man1'|self.opts.staging_root, 'usr/share/man/man1'|" \ + -e "s|manpath, prog+'.1'+__appname__+'.bz2'|manpath, prog+'.1'+'.bz2'|" \ + -e "s|old_udev = '/etc|old_udev = '${pkgdir}/etc|" \ + -e "s/^Name=calibre/Name=Calibre/g" src/calibre/linux.py + + # Fix the environment module location + sed -i -e "s|(prefix=.*)|(prefix='$pkgdir/usr')|g" setup/install.py + + install -d "${pkgdir}/usr/lib/python2.7/site-packages" + install -d "${pkgdir}/usr/share/zsh/site-functions" + LANG='en_US.UTF-8' python2 setup.py install --root="${pkgdir}" --prefix=/usr \ +--staging-bindir=
[arch-commits] Commit in calibre/repos (10 files)
Date: Saturday, March 22, 2014 @ 14:00:54 Author: jelle Revision: 108078 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: calibre/repos/community-testing-i686/ calibre/repos/community-testing-i686/PKGBUILD (from rev 108077, calibre/trunk/PKGBUILD) calibre/repos/community-testing-i686/calibre-mount-helper (from rev 108077, calibre/trunk/calibre-mount-helper) calibre/repos/community-testing-i686/calibre.install (from rev 108077, calibre/trunk/calibre.install) calibre/repos/community-testing-i686/desktop_integration.patch (from rev 108077, calibre/trunk/desktop_integration.patch) calibre/repos/community-testing-x86_64/ calibre/repos/community-testing-x86_64/PKGBUILD (from rev 108077, calibre/trunk/PKGBUILD) calibre/repos/community-testing-x86_64/calibre-mount-helper (from rev 108077, calibre/trunk/calibre-mount-helper) calibre/repos/community-testing-x86_64/calibre.install (from rev 108077, calibre/trunk/calibre.install) calibre/repos/community-testing-x86_64/desktop_integration.patch (from rev 108077, calibre/trunk/desktop_integration.patch) + community-testing-i686/PKGBUILD| 89 community-testing-i686/calibre-mount-helper| 28 + community-testing-i686/calibre.install | 12 ++ community-testing-i686/desktop_integration.patch | 101 +++ community-testing-x86_64/PKGBUILD | 89 community-testing-x86_64/calibre-mount-helper | 28 + community-testing-x86_64/calibre.install | 12 ++ community-testing-x86_64/desktop_integration.patch | 101 +++ 8 files changed, 460 insertions(+) Copied: calibre/repos/community-testing-i686/PKGBUILD (from rev 108077, calibre/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2014-03-22 13:00:54 UTC (rev 108078) @@ -0,0 +1,89 @@ +# $Id$ +# Maintainer: jelle van der Waa +# Maintainer: Daniel Wallace +# Contributor: Giovanni Scafora +# Contributor: Petrov Roman +# Contributor: Andrea Fagiani +# Contributor: Larry Hajali + +pkgname=calibre +pkgver=1.29.0 +pkgrel=2 +pkgdesc="Ebook management application" +arch=('i686' 'x86_64') +url="http://calibre-ebook.com/"; +license=('GPL3') +depends=('python2-six' 'python2-dateutil' 'python2-cssutils' 'python2-cherrypy' + 'python2-mechanize' 'podofo' 'libwmf' 'python2-beautifulsoup3' + 'imagemagick' 'poppler-qt' 'chmlib' 'python2-lxml' 'libusbx' + 'python2-pillow' 'shared-mime-info' 'python2-dnspython' + 'libunrar' 'python2-pyqt4' 'python2-psutil' 'icu' 'libmtp' + 'python2-netifaces' 'python2-cssselect' 'python2-apsw') +makedepends=('python2-pycountry' 'qt4-private-headers') +optdepends=('ipython2: to use calibre-debug') +install=calibre.install +source=("http://download.calibre-ebook.com/${pkgver}/calibre-${pkgver}.tar.xz"; +'desktop_integration.patch' +'calibre-mount-helper') +md5sums=('1df9ee27a9bff5072184d5e9629f1209' + 'ece36dfd737fa4a346f0a0e59395e949' + '675cd87d41342119827ef706055491e7') + +prepare(){ + cd "${srcdir}/${pkgname}" + #rm -rf src/{cherrypy,pyPdf} + rm -rf src/cherrypy + rm -rf resources/${pkgname}-portable.* + sed -i -e "s/ldflags = shlex.split(ldflags)/ldflags = shlex.split(ldflags) + ['-fPIC']/" setup/extensions.py + + # Fix for calibre-0.8.58 + sed -i -e "s:#!usr:#!/usr:g" src/calibre/ebooks/markdown/extensions/meta.py + + sed -i -e 's:\(#!/usr/bin/env[ ]\+python$\|#![ ]/usr/bin/env[ ]\+python$\|#!/usr/bin/python$\):\12:g' \ +$(find . -regex ".*.py\|.*.recipe") +} + +build() { + cd "${srcdir}/${pkgname}" + + LANG='en_US.UTF-8' python2 setup.py build + # LANG='en_US.UTF-8' python2 setup.py resources + + # Don't build translations since building them is broken badly + #LANG='en_US.UTF-8' python2 setup.py translations +} + +package() { + cd "${srcdir}/${pkgname}" + + patch -Np1 -i "${srcdir}/desktop_integration.patch" + + # More on desktop integration (e.g. enforce arch defaults) + sed -i -e "/self.create_uninstaller()/,/os.rmdir(config_dir)/d" \ + -e "s|self.opts.staging_sharedir, 'man/man1'|self.opts.staging_root, 'usr/share/man/man1'|" \ + -e "s|manpath, prog+'.1'+__appname__+'.bz2'|manpath, prog+'.1'+'.bz2'|" \ + -e "s|old_udev = '/etc|old_udev = '${pkgdir}/etc|" \ + -e "s/^Name=calibre/Name=Calibre/g" src/calibre/linux.py + + # Fix the environment module location + sed -i -e "s|(prefix=.*)|(prefix='$pkgdir/usr')|g" setup/install.py + + install -d "${pkgdir}/usr/lib/python2.7/site-packages" + install -d "${pkgdir}/usr/share/zsh/site-functions" + LANG='en_US.UTF-8' python2 setup.py install --root="${pkgdir}" --prefix=/usr \ +--staging-bind
[arch-commits] Commit in calibre/repos (10 files)
Date: Saturday, January 18, 2014 @ 18:50:51 Author: jelle Revision: 104349 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: calibre/repos/community-staging-i686/ calibre/repos/community-staging-i686/PKGBUILD (from rev 104348, calibre/trunk/PKGBUILD) calibre/repos/community-staging-i686/calibre-mount-helper (from rev 104348, calibre/trunk/calibre-mount-helper) calibre/repos/community-staging-i686/calibre.install (from rev 104348, calibre/trunk/calibre.install) calibre/repos/community-staging-i686/desktop_integration.patch (from rev 104348, calibre/trunk/desktop_integration.patch) calibre/repos/community-staging-x86_64/ calibre/repos/community-staging-x86_64/PKGBUILD (from rev 104348, calibre/trunk/PKGBUILD) calibre/repos/community-staging-x86_64/calibre-mount-helper (from rev 104348, calibre/trunk/calibre-mount-helper) calibre/repos/community-staging-x86_64/calibre.install (from rev 104348, calibre/trunk/calibre.install) calibre/repos/community-staging-x86_64/desktop_integration.patch (from rev 104348, calibre/trunk/desktop_integration.patch) + community-staging-i686/PKGBUILD| 92 ++ community-staging-i686/calibre-mount-helper| 28 community-staging-i686/calibre.install | 12 + community-staging-i686/desktop_integration.patch | 119 +++ community-staging-x86_64/PKGBUILD | 92 ++ community-staging-x86_64/calibre-mount-helper | 28 community-staging-x86_64/calibre.install | 12 + community-staging-x86_64/desktop_integration.patch | 119 +++ 8 files changed, 502 insertions(+) Copied: calibre/repos/community-staging-i686/PKGBUILD (from rev 104348, calibre/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2014-01-18 17:50:51 UTC (rev 104349) @@ -0,0 +1,92 @@ +# $Id$ +# Maintainer: jelle van der Waa +# Maintainer: Daniel Wallace +# Contributor: Giovanni Scafora +# Contributor: Petrov Roman +# Contributor: Andrea Fagiani +# Contributor: Larry Hajali + +pkgname=calibre +pkgver=1.20.0 +pkgrel=2 +pkgdesc="Ebook management application" +arch=('i686' 'x86_64') +url="http://calibre-ebook.com/"; +license=('GPL3') +depends=('python2-six' 'python2-dateutil' 'python2-cssutils' 'python2-cherrypy' + 'python2-mechanize' 'podofo' 'libwmf' 'python2-beautifulsoup3' + 'imagemagick' 'poppler-qt' 'chmlib' 'python2-lxml' 'libusbx' + 'python2-pillow' 'shared-mime-info' 'python2-dnspython' + 'libunrar' 'python2-pyqt4' 'python2-psutil' 'icu' 'libmtp' + 'python2-netifaces' 'python2-cssselect' 'python2-apsw') +makedepends=('python2-pycountry' 'qt4-private-headers') +optdepends=('ipython2: to use calibre-debug') +install=calibre.install +source=("http://download.calibre-ebook.com/${pkgver}/calibre-${pkgver}.tar.xz"; +'desktop_integration.patch' +'calibre-mount-helper') +md5sums=('5ce57bf48ed7f534fe9d5c55157dd15a' + '95ca4eb3afa7c737c8371708a23bdad9' + '675cd87d41342119827ef706055491e7') + +prepare(){ +cd "${srcdir}/${pkgname}" +#rm -rf src/{cherrypy,pyPdf} +rm -rf src/cherrypy +rm -rf resources/${pkgname}-portable.* +sed -i -e "s/ldflags = shlex.split(ldflags)/ldflags = shlex.split(ldflags) + ['-fPIC']/" setup/extensions.py + +# Fix for calibre-0.8.58 + sed -i -e "s:#!usr:#!/usr:g" src/calibre/ebooks/markdown/extensions/meta.py + + sed -i -e 's:\(#!/usr/bin/env[ ]\+python$\|#![ ]/usr/bin/env[ ]\+python$\|#!/usr/bin/python$\):\12:g' \ +$(find . -regex ".*.py\|.*.recipe") +} + +build() { + cd "${srcdir}/${pkgname}" + + LANG='en_US.UTF-8' python2 setup.py build + # LANG='en_US.UTF-8' python2 setup.py resources + + # Don't build translations since building them is broken badly + #LANG='en_US.UTF-8' python2 setup.py translations +} + +package() { + cd "${srcdir}/${pkgname}" + + patch -Np1 -i "${srcdir}/desktop_integration.patch" + + # More on desktop integration (e.g. enforce arch defaults) + sed -i -e "/self.create_uninstaller()/,/os.rmdir(config_dir)/d" \ + -e "s|self.opts.staging_sharedir, 'man/man1'|self.opts.staging_root, 'usr/share/man/man1'|" \ + -e "s|manpath, prog+'.1'+__appname__+'.bz2'|manpath, prog+'.1'+'.bz2'|" \ + -e "s|old_udev = '/etc|old_udev = '${pkgdir}/etc|" \ + -e "s/^Name=calibre/Name=Calibre/g" src/calibre/linux.py + + # Fix the environment module location + sed -i -e "s|(prefix=.*)|(prefix='$pkgdir/usr')|g" setup/install.py + + install -d "${pkgdir}/usr/lib/python2.7/site-packages" + install -d "${pkgdir}/usr/share/zsh/site-functions" + LANG='en_US.UTF-8' python2 setup.py install --root="${pkgdir}" --prefix=/usr \ +--staging-bindir="${pkgdir}/usr/
[arch-commits] Commit in calibre/repos (10 files)
Date: Saturday, October 12, 2013 @ 11:19:14 Author: jelle Revision: 98506 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: calibre/repos/community-staging-i686/ calibre/repos/community-staging-i686/PKGBUILD (from rev 98505, calibre/trunk/PKGBUILD) calibre/repos/community-staging-i686/calibre-mount-helper (from rev 98505, calibre/trunk/calibre-mount-helper) calibre/repos/community-staging-i686/calibre.install (from rev 98505, calibre/trunk/calibre.install) calibre/repos/community-staging-i686/desktop_integration.patch (from rev 98505, calibre/trunk/desktop_integration.patch) calibre/repos/community-staging-x86_64/ calibre/repos/community-staging-x86_64/PKGBUILD (from rev 98505, calibre/trunk/PKGBUILD) calibre/repos/community-staging-x86_64/calibre-mount-helper (from rev 98505, calibre/trunk/calibre-mount-helper) calibre/repos/community-staging-x86_64/calibre.install (from rev 98505, calibre/trunk/calibre.install) calibre/repos/community-staging-x86_64/desktop_integration.patch (from rev 98505, calibre/trunk/desktop_integration.patch) + community-staging-i686/PKGBUILD| 90 +++ community-staging-i686/calibre-mount-helper| 28 community-staging-i686/calibre.install | 12 ++ community-staging-i686/desktop_integration.patch | 109 +++ community-staging-x86_64/PKGBUILD | 90 +++ community-staging-x86_64/calibre-mount-helper | 28 community-staging-x86_64/calibre.install | 12 ++ community-staging-x86_64/desktop_integration.patch | 109 +++ 8 files changed, 478 insertions(+) Copied: calibre/repos/community-staging-i686/PKGBUILD (from rev 98505, calibre/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2013-10-12 09:19:14 UTC (rev 98506) @@ -0,0 +1,90 @@ +# $Id$ +# Maintainer: jelle van der Waa +# Maintainer: Daniel Wallace +# Contributor: Giovanni Scafora +# Contributor: Petrov Roman +# Contributor: Andrea Fagiani +# Contributor: Larry Hajali + +pkgname=calibre +pkgver=1.6 +pkgrel=2 +pkgdesc="Ebook management application" +arch=('i686' 'x86_64') +url="http://calibre-ebook.com/"; +license=('GPL3') +depends=('python2-six' 'python2-dateutil' 'python2-cssutils' 'python2-cherrypy' + 'python2-mechanize' 'podofo' 'libwmf' 'python2-beautifulsoup3' + 'imagemagick' 'poppler-qt' 'chmlib' 'python2-lxml' 'libusbx' + 'python2-pillow' 'shared-mime-info' 'python2-dnspython' + 'libunrar' 'python2-pyqt4' 'python2-psutil' 'icu' 'libmtp' + 'python2-netifaces' 'python2-cssselect' 'python2-apsw') +makedepends=('python2-pycountry' 'qt4-private-headers') +optdepends=('ipython2: to use calibre-debug') +install=calibre.install +source=('http://download.calibre-ebook.com/1.6.0/calibre-1.6.0.tar.xz' +'desktop_integration.patch' +'calibre-mount-helper') +md5sums=('d4fc03a2bec211324897cbb916c6eb89' + '8353d1878c5a498b3e49eddef473605f' + '675cd87d41342119827ef706055491e7') + + +prepare(){ + cd "${srcdir}/${pkgname}" + #rm -rf src/{cherrypy,pyPdf} + rm -rf src/cherrypy + rm -rf resources/${pkgname}-portable.* + sed -i -e "s/ldflags = shlex.split(ldflags)/ldflags = shlex.split(ldflags) + ['-fPIC']/" setup/extensions.py + + # Fix for calibre-0.8.58 + sed -i -e "s:#!usr:#!/usr:g" src/calibre/ebooks/markdown/extensions/meta.py + + sed -i -e 's:\(#!/usr/bin/env[ ]\+python$\|#![ ]/usr/bin/env[ ]\+python$\|#!/usr/bin/python$\):\12:g' \ +$(find . -regex ".*.py\|.*.recipe") +} + +build() { + cd "${srcdir}/${pkgname}" + + LANG='en_US.UTF-8' python2 setup.py build + # LANG='en_US.UTF-8' python2 setup.py resources + + # Don't build translations since building them is broken badly +#LANG='en_US.UTF-8' python2 setup.py translations +} + +package() { + cd "${srcdir}/${pkgname}" + + patch -Np1 -i "${srcdir}/desktop_integration.patch" + + # More on desktop integration (e.g. enforce arch defaults) + sed -i -e "/self.create_uninstaller()/,/os.rmdir(config_dir)/d" \ + -e "s|self.opts.staging_sharedir, 'man/man1'|self.opts.staging_root, 'usr/share/man/man1'|" \ + -e "s|manpath, prog+'.1'+__appname__+'.bz2'|manpath, prog+'.1'+'.bz2'|" \ + -e "s|old_udev = '/etc|old_udev = '${pkgdir}/etc|" \ + -e "s/^Name=calibre/Name=Calibre/g" src/calibre/linux.py + + # Fix the environment module location + sed -i -e "s|(prefix=.*)|(prefix='$pkgdir/usr')|g" setup/install.py + + install -d "${pkgdir}/usr/lib/python2.7/site-packages" + install -d "${pkgdir}/usr/share/zsh/site-functions" + LANG='en_US.UTF-8' python2 setup.py install --root="${pkgdir}" --prefix=/usr \ +--staging-bindir="${pkgdir}/usr/bin" \
[arch-commits] Commit in calibre/repos (10 files)
Date: Sunday, September 15, 2013 @ 12:07:40 Author: jelle Revision: 97196 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: calibre/repos/community-staging-i686/ calibre/repos/community-staging-i686/PKGBUILD (from rev 97195, calibre/trunk/PKGBUILD) calibre/repos/community-staging-i686/calibre-mount-helper (from rev 97195, calibre/trunk/calibre-mount-helper) calibre/repos/community-staging-i686/calibre.install (from rev 97195, calibre/trunk/calibre.install) calibre/repos/community-staging-i686/desktop_integration.patch (from rev 97195, calibre/trunk/desktop_integration.patch) calibre/repos/community-staging-x86_64/ calibre/repos/community-staging-x86_64/PKGBUILD (from rev 97195, calibre/trunk/PKGBUILD) calibre/repos/community-staging-x86_64/calibre-mount-helper (from rev 97195, calibre/trunk/calibre-mount-helper) calibre/repos/community-staging-x86_64/calibre.install (from rev 97195, calibre/trunk/calibre.install) calibre/repos/community-staging-x86_64/desktop_integration.patch (from rev 97195, calibre/trunk/desktop_integration.patch) + community-staging-i686/PKGBUILD| 89 +++ community-staging-i686/calibre-mount-helper| 28 community-staging-i686/calibre.install | 12 ++ community-staging-i686/desktop_integration.patch | 109 +++ community-staging-x86_64/PKGBUILD | 89 +++ community-staging-x86_64/calibre-mount-helper | 28 community-staging-x86_64/calibre.install | 12 ++ community-staging-x86_64/desktop_integration.patch | 109 +++ 8 files changed, 476 insertions(+) Copied: calibre/repos/community-staging-i686/PKGBUILD (from rev 97195, calibre/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2013-09-15 10:07:40 UTC (rev 97196) @@ -0,0 +1,89 @@ +# $Id$ +# Maintainer: jelle van der Waa +# Maintainer: Daniel Wallace +# Contributor: Giovanni Scafora +# Contributor: Petrov Roman +# Contributor: Andrea Fagiani +# Contributor: Larry Hajali + +pkgname=calibre +pkgver=1.3.0 +pkgrel=2 +pkgdesc="Ebook management application" +arch=('i686' 'x86_64') +url="http://calibre-ebook.com/"; +license=('GPL3') +depends=('python2-six' 'python2-dateutil' 'python2-cssutils' 'python2-cherrypy' + 'python2-mechanize' 'podofo' 'libwmf' 'python2-beautifulsoup3' + 'imagemagick' 'poppler-qt' 'chmlib' 'python2-lxml' 'libusbx' + 'python2-pillow' 'shared-mime-info' 'python2-dnspython' + 'libunrar' 'python2-pyqt4' 'python2-psutil' 'icu' 'libmtp' + 'python2-netifaces' 'python2-cssselect' 'python2-apsw') +makedepends=('python2-pycountry' 'qt4-private-headers') +optdepends=('ipython2: to use calibre-debug') +install=calibre.install +source=("http://sourceforge.net/projects/calibre/files/${pkgver}/calibre-${pkgver}.tar.xz"; +'desktop_integration.patch' +'calibre-mount-helper') +md5sums=('38597e9ddb7b24a162f8e3bb6df18fc4' + '8353d1878c5a498b3e49eddef473605f' + '675cd87d41342119827ef706055491e7') + +prepare(){ + cd "${srcdir}/${pkgname}" + #rm -rf src/{cherrypy,pyPdf} + rm -rf src/cherrypy + rm -rf resources/${pkgname}-portable.* + sed -i -e "s/ldflags = shlex.split(ldflags)/ldflags = shlex.split(ldflags) + ['-fPIC']/" setup/extensions.py + + # Fix for calibre-0.8.58 + sed -i -e "s:#!usr:#!/usr:g" src/calibre/ebooks/markdown/extensions/meta.py + + sed -i -e 's:\(#!/usr/bin/env[ ]\+python$\|#![ ]/usr/bin/env[ ]\+python$\|#!/usr/bin/python$\):\12:g' \ +$(find . -regex ".*.py\|.*.recipe") +} + +build() { + cd "${srcdir}/${pkgname}" + + LANG='en_US.UTF-8' python2 setup.py build + # LANG='en_US.UTF-8' python2 setup.py resources + + # Don't build translations since building them is broken badly +#LANG='en_US.UTF-8' python2 setup.py translations +} + +package() { + cd "${srcdir}/${pkgname}" + + patch -Np1 -i "${srcdir}/desktop_integration.patch" + + # More on desktop integration (e.g. enforce arch defaults) + sed -i -e "/self.create_uninstaller()/,/os.rmdir(config_dir)/d" \ + -e "s|self.opts.staging_sharedir, 'man/man1'|self.opts.staging_root, 'usr/share/man/man1'|" \ + -e "s|manpath, prog+'.1'+__appname__+'.bz2'|manpath, prog+'.1'+'.bz2'|" \ + -e "s|old_udev = '/etc|old_udev = '${pkgdir}/etc|" \ + -e "s/^Name=calibre/Name=Calibre/g" src/calibre/linux.py + + # Fix the environment module location + sed -i -e "s|(prefix=.*)|(prefix='$pkgdir/usr')|g" setup/install.py + + install -d "${pkgdir}/usr/lib/python2.7/site-packages" + install -d "${pkgdir}/usr/share/zsh/site-functions" + LANG='en_US.UTF-8' python2 setup.py install --root="${pkgdir}" --prefix=/usr \ +--staging-bindir="
[arch-commits] Commit in calibre/repos (10 files)
Date: Friday, August 9, 2013 @ 11:21:36 Author: jelle Revision: 95318 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: calibre/repos/community-staging-i686/ calibre/repos/community-staging-i686/PKGBUILD (from rev 95317, calibre/trunk/PKGBUILD) calibre/repos/community-staging-i686/calibre-mount-helper (from rev 95317, calibre/trunk/calibre-mount-helper) calibre/repos/community-staging-i686/calibre.install (from rev 95317, calibre/trunk/calibre.install) calibre/repos/community-staging-i686/desktop_integration.patch (from rev 95317, calibre/trunk/desktop_integration.patch) calibre/repos/community-staging-x86_64/ calibre/repos/community-staging-x86_64/PKGBUILD (from rev 95317, calibre/trunk/PKGBUILD) calibre/repos/community-staging-x86_64/calibre-mount-helper (from rev 95317, calibre/trunk/calibre-mount-helper) calibre/repos/community-staging-x86_64/calibre.install (from rev 95317, calibre/trunk/calibre.install) calibre/repos/community-staging-x86_64/desktop_integration.patch (from rev 95317, calibre/trunk/desktop_integration.patch) + community-staging-i686/PKGBUILD| 89 +++ community-staging-i686/calibre-mount-helper| 28 community-staging-i686/calibre.install | 12 ++ community-staging-i686/desktop_integration.patch | 109 +++ community-staging-x86_64/PKGBUILD | 89 +++ community-staging-x86_64/calibre-mount-helper | 28 community-staging-x86_64/calibre.install | 12 ++ community-staging-x86_64/desktop_integration.patch | 109 +++ 8 files changed, 476 insertions(+) Copied: calibre/repos/community-staging-i686/PKGBUILD (from rev 95317, calibre/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2013-08-09 09:21:36 UTC (rev 95318) @@ -0,0 +1,89 @@ +# $Id$ +# Maintainer: jelle van der Waa +# Maintainer: Daniel Wallace +# Contributor: Giovanni Scafora +# Contributor: Petrov Roman +# Contributor: Andrea Fagiani +# Contributor: Larry Hajali + +pkgname=calibre +pkgver=0.9.43 +pkgrel=2 +pkgdesc="Ebook management application" +arch=('i686' 'x86_64') +url="http://calibre-ebook.com/"; +license=('GPL3') +depends=('python2-six' 'python2-dateutil' 'python2-cssutils' 'python2-cherrypy' + 'python2-mechanize' 'podofo' 'libwmf' 'python2-beautifulsoup3' + 'imagemagick' 'poppler-qt' 'chmlib' 'python2-lxml' 'libusbx' + 'python2-imaging' 'shared-mime-info' 'python2-dnspython' + 'libunrar' 'python2-pyqt4' 'python2-psutil' 'icu' 'libmtp' + 'python2-netifaces' 'python2-cssselect') +makedepends=('python2-pycountry' 'qt4-private-headers') +optdepends=('ipython2: to use calibre-debug') +install=calibre.install +source=("http://sourceforge.net/projects/calibre/files/${pkgver}/calibre-${pkgver}.tar.xz"; +'desktop_integration.patch' +'calibre-mount-helper') +md5sums=('63e78929c62ae838b767c95b0830eb31' + '8353d1878c5a498b3e49eddef473605f' + '675cd87d41342119827ef706055491e7') + +prepare(){ + cd "${srcdir}/${pkgname}" + #rm -rf src/{cherrypy,pyPdf} + rm -rf src/cherrypy + rm -rf resources/${pkgname}-portable.* + sed -i -e "s/ldflags = shlex.split(ldflags)/ldflags = shlex.split(ldflags) + ['-fPIC']/" setup/extensions.py + + # Fix for calibre-0.8.58 + sed -i -e "s:#!usr:#!/usr:g" src/calibre/ebooks/markdown/extensions/meta.py + + sed -i -e 's:\(#!/usr/bin/env[ ]\+python$\|#![ ]/usr/bin/env[ ]\+python$\|#!/usr/bin/python$\):\12:g' \ +$(find . -regex ".*.py\|.*.recipe") +} + +build() { + cd "${srcdir}/${pkgname}" + + LANG='en_US.UTF-8' python2 setup.py build + # LANG='en_US.UTF-8' python2 setup.py resources + + # Don't build translations since building them is broken badly +#LANG='en_US.UTF-8' python2 setup.py translations +} + +package() { + cd "${srcdir}/${pkgname}" + + patch -Np1 -i "${srcdir}/desktop_integration.patch" + + # More on desktop integration (e.g. enforce arch defaults) + sed -i -e "/self.create_uninstaller()/,/os.rmdir(config_dir)/d" \ + -e "s|self.opts.staging_sharedir, 'man/man1'|self.opts.staging_root, 'usr/share/man/man1'|" \ + -e "s|manpath, prog+'.1'+__appname__+'.bz2'|manpath, prog+'.1'+'.bz2'|" \ + -e "s|old_udev = '/etc|old_udev = '${pkgdir}/etc|" \ + -e "s/^Name=calibre/Name=Calibre/g" src/calibre/linux.py + + # Fix the environment module location + sed -i -e "s|(prefix=.*)|(prefix='$pkgdir/usr')|g" setup/install.py + + install -d "${pkgdir}/usr/lib/python2.7/site-packages" + install -d "${pkgdir}/usr/share/zsh/site-functions" + LANG='en_US.UTF-8' python2 setup.py install --root="${pkgdir}" --prefix=/usr \ +--staging-bindir="${pkgdir}/usr/bin
[arch-commits] Commit in calibre/repos (10 files)
Date: Friday, March 22, 2013 @ 19:11:09 Author: jelle Revision: 86831 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: calibre/repos/community-staging-i686/ calibre/repos/community-staging-i686/PKGBUILD (from rev 86830, calibre/trunk/PKGBUILD) calibre/repos/community-staging-i686/calibre-mount-helper (from rev 86830, calibre/trunk/calibre-mount-helper) calibre/repos/community-staging-i686/calibre.install (from rev 86830, calibre/trunk/calibre.install) calibre/repos/community-staging-i686/desktop_integration.patch (from rev 86830, calibre/trunk/desktop_integration.patch) calibre/repos/community-staging-x86_64/ calibre/repos/community-staging-x86_64/PKGBUILD (from rev 86830, calibre/trunk/PKGBUILD) calibre/repos/community-staging-x86_64/calibre-mount-helper (from rev 86830, calibre/trunk/calibre-mount-helper) calibre/repos/community-staging-x86_64/calibre.install (from rev 86830, calibre/trunk/calibre.install) calibre/repos/community-staging-x86_64/desktop_integration.patch (from rev 86830, calibre/trunk/desktop_integration.patch) + community-staging-i686/PKGBUILD| 82 ++ community-staging-i686/calibre-mount-helper| 28 community-staging-i686/calibre.install | 12 ++ community-staging-i686/desktop_integration.patch | 109 +++ community-staging-x86_64/PKGBUILD | 82 ++ community-staging-x86_64/calibre-mount-helper | 28 community-staging-x86_64/calibre.install | 12 ++ community-staging-x86_64/desktop_integration.patch | 109 +++ 8 files changed, 462 insertions(+) Copied: calibre/repos/community-staging-i686/PKGBUILD (from rev 86830, calibre/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2013-03-22 18:11:09 UTC (rev 86831) @@ -0,0 +1,82 @@ +# $Id$ +# Maintainer: Giovanni Scafora +# Contributor: Petrov Roman +# Contributor: Andrea Fagiani +# Contributor: Larry Hajali + +pkgname=calibre +pkgver=0.9.24 +pkgrel=1 +pkgdesc="Ebook management application" +arch=('i686' 'x86_64') +url="http://calibre-ebook.com/"; +license=('GPL3') +depends=('python2-dateutil' 'python2-cssutils' 'python2-cherrypy' + 'python2-mechanize' 'podofo' 'libwmf' 'python2-beautifulsoup3' + 'imagemagick' 'poppler-qt' 'chmlib' 'python2-lxml' 'libusbx' + 'python2-imaging' 'shared-mime-info' 'python2-dnspython' + 'libunrar' 'python2-pyqt' 'python2-psutil' 'icu' 'libmtp' + 'python2-netifaces' 'python2-cssselect') +makedepends=('python2-pycountry' 'qt4-private-headers') +optdepends=('ipython2: to use calibre-debug') +install=calibre.install +source=("http://calibre-ebook.googlecode.com/files/${pkgname}-${pkgver}.tar.xz"; +'desktop_integration.patch' +'calibre-mount-helper') +md5sums=('62e976dcf0bdc9e2c7150c298d5df73f' + '8353d1878c5a498b3e49eddef473605f' + '675cd87d41342119827ef706055491e7') + +build() { + cd "${srcdir}/${pkgname}" + + #rm -rf src/{cherrypy,pyPdf} + rm -rf src/cherrypy + rm -rf resources/${pkgname}-portable.* + sed -i -e "s/ldflags = shlex.split(ldflags)/ldflags = shlex.split(ldflags) + ['-fPIC']/" setup/extensions.py + + # Fix for calibre-0.8.58 + sed -i -e "s:#!usr:#!/usr:g" src/calibre/ebooks/markdown/extensions/meta.py + + sed -i -e 's:\(#!/usr/bin/env[ ]\+python$\|#![ ]/usr/bin/env[ ]\+python$\|#!/usr/bin/python$\):\12:g' \ +$(find . -regex ".*.py\|.*.recipe") + + LANG='en_US.UTF-8' python2 setup.py build + # LANG='en_US.UTF-8' python2 setup.py resources + LANG='en_US.UTF-8' python2 setup.py translations +} + +package() { + cd "${srcdir}/${pkgname}" + + patch -Np1 -i "${srcdir}/desktop_integration.patch" + + # More on desktop integration (e.g. enforce arch defaults) + sed -i -e "/self.create_uninstaller()/,/os.rmdir(config_dir)/d" \ + -e "s|self.opts.staging_sharedir, 'man/man1'|self.opts.staging_root, 'usr/share/man/man1'|" \ + -e "s|manpath, prog+'.1'+__appname__+'.bz2'|manpath, prog+'.1'+'.bz2'|" \ + -e "s|old_udev = '/etc|old_udev = '${pkgdir}/etc|" \ + -e "s/^Name=calibre/Name=Calibre/g" src/calibre/linux.py + + # Fix the environment module location + sed -i -e "s|(prefix=.*)|(prefix='$pkgdir/usr')|g" setup/install.py + + install -d "${pkgdir}/usr/lib/python2.7/site-packages" + install -d "${pkgdir}/usr/share/zsh/site-functions" + LANG='en_US.UTF-8' python2 setup.py install --root="${pkgdir}" --prefix=/usr \ +--staging-bindir="${pkgdir}/usr/bin" \ +--staging-libdir="${pkgdir}/usr/lib" \ +--staging-sharedir="${pkgdir}/usr/share" + + find "${pkgdir}" -type d -empty -delete + + # See http://lwn.net/SubscriberLink/465311/7c299471a5399167/ +
[arch-commits] Commit in calibre/repos (10 files)
Date: Sunday, March 17, 2013 @ 14:30:00 Author: jelle Revision: 86451 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: calibre/repos/community-staging-i686/ calibre/repos/community-staging-i686/PKGBUILD (from rev 86450, calibre/trunk/PKGBUILD) calibre/repos/community-staging-i686/calibre-mount-helper (from rev 86450, calibre/trunk/calibre-mount-helper) calibre/repos/community-staging-i686/calibre.install (from rev 86450, calibre/trunk/calibre.install) calibre/repos/community-staging-i686/desktop_integration.patch (from rev 86450, calibre/trunk/desktop_integration.patch) calibre/repos/community-staging-x86_64/ calibre/repos/community-staging-x86_64/PKGBUILD (from rev 86450, calibre/trunk/PKGBUILD) calibre/repos/community-staging-x86_64/calibre-mount-helper (from rev 86450, calibre/trunk/calibre-mount-helper) calibre/repos/community-staging-x86_64/calibre.install (from rev 86450, calibre/trunk/calibre.install) calibre/repos/community-staging-x86_64/desktop_integration.patch (from rev 86450, calibre/trunk/desktop_integration.patch) + community-staging-i686/PKGBUILD| 82 ++ community-staging-i686/calibre-mount-helper| 28 community-staging-i686/calibre.install | 12 ++ community-staging-i686/desktop_integration.patch | 109 +++ community-staging-x86_64/PKGBUILD | 82 ++ community-staging-x86_64/calibre-mount-helper | 28 community-staging-x86_64/calibre.install | 12 ++ community-staging-x86_64/desktop_integration.patch | 109 +++ 8 files changed, 462 insertions(+) Copied: calibre/repos/community-staging-i686/PKGBUILD (from rev 86450, calibre/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2013-03-17 13:30:00 UTC (rev 86451) @@ -0,0 +1,82 @@ +# $Id$ +# Maintainer: Giovanni Scafora +# Contributor: Petrov Roman +# Contributor: Andrea Fagiani +# Contributor: Larry Hajali + +pkgname=calibre +pkgver=0.9.23 +pkgrel=2 +pkgdesc="Ebook management application" +arch=('i686' 'x86_64') +url="http://calibre-ebook.com/"; +license=('GPL3') +depends=('python2-dateutil' 'python2-cssutils' 'python2-cherrypy' + 'python2-mechanize' 'podofo' 'libwmf' 'python2-beautifulsoup3' + 'imagemagick' 'poppler-qt' 'chmlib' 'python2-lxml' 'libusbx' + 'python2-imaging' 'shared-mime-info' 'python2-dnspython' + 'libunrar' 'python2-pyqt' 'python2-psutil' 'icu' 'libmtp' + 'python2-netifaces' 'python2-cssselect') +makedepends=('python2-pycountry' 'qt4-private-headers') +optdepends=('ipython2: to use calibre-debug') +install=calibre.install +source=("http://calibre-ebook.googlecode.com/files/${pkgname}-${pkgver}.tar.xz"; +'desktop_integration.patch' +'calibre-mount-helper') +md5sums=('eff937f38c5cb7a2319364c86f6b925b' + '8353d1878c5a498b3e49eddef473605f' + '675cd87d41342119827ef706055491e7') + +build() { + cd "${srcdir}/${pkgname}" + + #rm -rf src/{cherrypy,pyPdf} + rm -rf src/cherrypy + rm -rf resources/${pkgname}-portable.* + sed -i -e "s/ldflags = shlex.split(ldflags)/ldflags = shlex.split(ldflags) + ['-fPIC']/" setup/extensions.py + + # Fix for calibre-0.8.58 + sed -i -e "s:#!usr:#!/usr:g" src/calibre/ebooks/markdown/extensions/meta.py + + sed -i -e 's:\(#!/usr/bin/env[ ]\+python$\|#![ ]/usr/bin/env[ ]\+python$\|#!/usr/bin/python$\):\12:g' \ +$(find . -regex ".*.py\|.*.recipe") + + LANG='en_US.UTF-8' python2 setup.py build + # LANG='en_US.UTF-8' python2 setup.py resources + LANG='en_US.UTF-8' python2 setup.py translations +} + +package() { + cd "${srcdir}/${pkgname}" + + patch -Np1 -i "${srcdir}/desktop_integration.patch" + + # More on desktop integration (e.g. enforce arch defaults) + sed -i -e "/self.create_uninstaller()/,/os.rmdir(config_dir)/d" \ + -e "s|self.opts.staging_sharedir, 'man/man1'|self.opts.staging_root, 'usr/share/man/man1'|" \ + -e "s|manpath, prog+'.1'+__appname__+'.bz2'|manpath, prog+'.1'+'.bz2'|" \ + -e "s|old_udev = '/etc|old_udev = '${pkgdir}/etc|" \ + -e "s/^Name=calibre/Name=Calibre/g" src/calibre/linux.py + + # Fix the environment module location + sed -i -e "s|(prefix=.*)|(prefix='$pkgdir/usr')|g" setup/install.py + + install -d "${pkgdir}/usr/lib/python2.7/site-packages" + install -d "${pkgdir}/usr/share/zsh/site-functions" + LANG='en_US.UTF-8' python2 setup.py install --root="${pkgdir}" --prefix=/usr \ +--staging-bindir="${pkgdir}/usr/bin" \ +--staging-libdir="${pkgdir}/usr/lib" \ +--staging-sharedir="${pkgdir}/usr/share" + + find "${pkgdir}" -type d -empty -delete + + # See http://lwn.net/SubscriberLink/465311/7c299471a5399167/ +