Skip to content

Instantly share code, notes, and snippets.

@kolewu kolewu/PKGBUILD.diff
Last active Nov 16, 2015

Embed
What would you like to do?
patacrep.aur
--- Requirements__orig.txt 2015-11-16 01:34:18.603423129 +0100
+++ Requirements.txt 2015-11-16 01:34:28.993060537 +0100
@@ -1,4 +1,3 @@
Jinja2==2.7.3
-argparse==1.2.1
chardet==2.2.1
unidecode>=0.04.16
--- setup__orig.py 2015-11-16 01:42:19.469974540 +0100
+++ setup.py 2015-11-16 01:42:31.732879896 +0100
@@ -18,12 +18,12 @@
packages=find_packages(),
license="GPLv2 or any later version",
requires=[
- "argparse", "codecs", "distutils", "fnmatch", "glob", "json",
+ "codecs", "distutils", "fnmatch", "glob", "json",
"locale", "logging", "os", "re", "subprocess", "sys",
"textwrap", "unidecode", "jinja2", "chardet"
],
install_requires=[
- "argparse", "unidecode", "jinja2", "chardet", "ply"
+ "unidecode", "jinja2", "chardet", "ply"
],
include_package_data=True,
entry_points={
--- PKGBUILD__orig 2015-06-14 20:15:18.000000000 +0200
+++ PKGBUILD 2015-11-16 01:53:58.932253871 +0100
@@ -8,13 +8,16 @@
url="http://www.patacrep.com"
license=('GPL')
depends=('python' 'python-ply' 'python-jinja' 'python-chardet'
- 'python-unidecode' 'texlive-fontsextra' 'lilypond')
+ 'python-unidecode' 'texlive-fontsextra' 'texlive-latexextra' 'lilypond')
makedepends=('python-setuptools')
-source=("https://github.com/patacrep/${pkgname}/archive/v${pkgver}.tar.gz")
-sha256sums=('76bcec90e3326ea152d500f35719509268ea5a26996800ea5118c7e924ea726b')
+source=("https://github.com/patacrep/${pkgname}/archive/v${pkgver}.tar.gz"
+ fix-requirements.patch)
+sha256sums=('76bcec90e3326ea152d500f35719509268ea5a26996800ea5118c7e924ea726b'
+ '301d51bbb0b8725e79dfaeec0131f4207e7ebfc96f1e8ca93c06053f776fd94f')
build() {
cd "$srcdir/${pkgname}-${pkgver}"
+ patch -i "$srcdir"/fix-requirements.patch
python setup.py build
}
# Maintainer: Immae <ismael.bouya@normalesup.org>
pkgname=patacrep
pkgver=4.0.0
pkgrel=1
pkgdesc="Engine for LaTeX songbooks"
arch=('any')
url="http://www.patacrep.com"
license=('GPL')
depends=('python' 'python-ply' 'python-jinja' 'python-chardet'
'python-unidecode' 'texlive-fontsextra' 'texlive-latexextra' 'lilypond')
makedepends=('python-setuptools')
source=("https://github.com/patacrep/${pkgname}/archive/v${pkgver}.tar.gz"
fix-requirements.patch)
sha256sums=('76bcec90e3326ea152d500f35719509268ea5a26996800ea5118c7e924ea726b'
'301d51bbb0b8725e79dfaeec0131f4207e7ebfc96f1e8ca93c06053f776fd94f')
build() {
cd "$srcdir/${pkgname}-${pkgver}"
patch -i "$srcdir"/fix-requirements.patch
python setup.py build
}
package(){
cd "$srcdir/${pkgname}-${pkgver}"
python setup.py install --root="${pkgdir}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.