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

Konstantin Gizdov kgizdov at archlinux.org
Tue Jun 30 13:44:49 UTC 2020


    Date: Tuesday, June 30, 2020 @ 13:44:48
  Author: kgizdov
Revision: 657166

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   63 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 32 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-30 13:44:43 UTC (rev 657165)
+++ PKGBUILD	2020-06-30 13:44:48 UTC (rev 657166)
@@ -1,31 +0,0 @@
-# Maintainer: Baptiste Jonglez <archlinux at bitsofnetworks dot org>
-# Contributor: Patrice Peterson <runiq at archlinux dot us>
-
-pkgname=python-latexcodec
-pkgver=1.0.7
-pkgrel=2
-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"
-}

Copied: python-latexcodec/repos/community-any/PKGBUILD (from rev 657165, python-latexcodec/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-06-30 13:44:48 UTC (rev 657166)
@@ -0,0 +1,32 @@
+# Maintainer: Baptiste Jonglez <archlinux at bitsofnetworks dot org>
+# Contributor: Patrice Peterson <runiq at archlinux dot us>
+
+_pkgname=latexcodec
+pkgname=python-${_pkgname}
+pkgver=2.0.1
+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' 'python-pytest')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mcmtroffaes/${_pkgname}/archive/${pkgver}.tar.gz")
+sha256sums=('eda36ddfc969f86c9a8fdd50c12b484fa42dbfa33b84422144643b60081ca022')
+
+build() {
+  cd "${srcdir}/${_pkgname}-${pkgver}"
+  python setup.py build
+}
+
+check() {
+  cd "${srcdir}/${_pkgname}-${pkgver}"
+  nosetests
+}
+
+package() {
+  cd "${srcdir}/${_pkgname}-${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