Last active
November 16, 2015 22:20
-
-
Save kolewu/9da976ad8b4eaaf5824d to your computer and use it in GitHub Desktop.
patacrep.aur
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- 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={ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- 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 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Immae <[email protected]> | |
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