[arch-commits] Commit in python-latexcodec/repos/community-any (PKGBUILD PKGBUILD)

Antonio Rojas arojas at archlinux.org
Fri Nov 8 21:17:21 UTC 2019


    Date: Friday, November 8, 2019 @ 21:17:20
  Author: arojas
Revision: 524690

archrelease: copy trunk to community-any

Added:
  python-latexcodec/repos/community-any/PKGBUILD
    (from rev 524689, python-latexcodec/trunk/PKGBUILD)
Deleted:
  python-latexcodec/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   82 +++++++++++++++++++++++--------------------------------------
 1 file changed, 31 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-08 21:16:59 UTC (rev 524689)
+++ PKGBUILD	2019-11-08 21:17:20 UTC (rev 524690)
@@ -1,51 +0,0 @@
-# Maintainer: Baptiste Jonglez <archlinux at bitsofnetworks dot org>
-# Contributor: Patrice Peterson <runiq at archlinux dot us>
-
-pkgbase=python-latexcodec
-pkgname=(python-latexcodec python2-latexcodec)
-pkgver=1.0.5
-pkgrel=2
-pkgdesc="A lexer and codec to work with LaTeX code in Python"
-arch=('any')
-url="https://github.com/mcmtroffaes/latexcodec"
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-nose' 'python2-nose')
-source=("https://pypi.io/packages/source/l/latexcodec/latexcodec-$pkgver.tar.gz")
-sha256sums=('9607d9d260654eb607c54a8b8c991e4406008605c383ded4f4034522dc0bad7d')
-
-prepare() {
-  cp -a latexcodec-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir/latexcodec-$pkgver"
-  python setup.py build
-
-  cd "$srcdir/latexcodec-$pkgver-py2"
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir/latexcodec-$pkgver"
-  nosetests
-
-  cd "$srcdir/latexcodec-$pkgver-py2"
-  nosetests2
-}
-
-package_python-latexcodec() {
-  depends=('python-six')
-
-  cd "$srcdir/latexcodec-$pkgver"
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 LICENSE.rst "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_python2-latexcodec() {
-  depends=('python2-six')
-
-  cd "$srcdir/latexcodec-$pkgver-py2"
-  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 LICENSE.rst "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: python-latexcodec/repos/community-any/PKGBUILD (from rev 524689, python-latexcodec/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-08 21:17:20 UTC (rev 524690)
@@ -0,0 +1,31 @@
+# Maintainer: Baptiste Jonglez <archlinux at bitsofnetworks dot org>
+# Contributor: Patrice Peterson <runiq at archlinux dot us>
+
+pkgname=python-latexcodec
+pkgver=1.0.7
+pkgrel=1
+pkgdesc="A lexer and codec to work with LaTeX code in Python"
+arch=('any')
+url="https://github.com/mcmtroffaes/latexcodec"
+license=('MIT')
+depends=('python-six')
+makedepends=('python-setuptools')
+checkdepends=('python-nose')
+source=("https://pypi.io/packages/source/l/latexcodec/latexcodec-$pkgver.tar.gz")
+sha256sums=('ebc183904549b1514ffc29a8768c8b58dc45cb813b94df90bf19f4c7b01fd772')
+
+build() {
+  cd "$srcdir/latexcodec-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir/latexcodec-$pkgver"
+  nosetests
+}
+
+package() {
+  cd "$srcdir/latexcodec-$pkgver"
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE.rst "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list