[arch-commits] Commit in m2r/repos/community-staging-any (PKGBUILD PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Wed Nov 11 15:10:07 UTC 2020


    Date: Wednesday, November 11, 2020 @ 15:10:07
  Author: foutrelis
Revision: 750928

archrelease: copy trunk to community-staging-any

Added:
  m2r/repos/community-staging-any/PKGBUILD
    (from rev 750927, m2r/trunk/PKGBUILD)
Deleted:
  m2r/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |  110 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 55 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-11 15:10:03 UTC (rev 750927)
+++ PKGBUILD	2020-11-11 15:10:07 UTC (rev 750928)
@@ -1,55 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=m2r
-pkgname=(m2r python2-m2r)
-pkgver=0.2.1
-pkgrel=4
-pkgdesc="Markdown to reStructuredText converter"
-arch=('any')
-url="https://github.com/miyakogi/m2r"
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-mistune' 'python2-mistune'
-             'python-docutils' 'python2-docutils')
-checkdepends=('python2-mock' 'python-pygments' 'python2-pygments' 'python-pytest-runner'
-              'python2-pytest-runner')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/miyakogi/m2r/archive/v$pkgver.tar.gz")
-sha512sums=('847f04538ee52f0b0a88cee9474ed889e8114a3a7b1fb221cdaa867ab70ca52f517250f2c8bbf795ae598c7b6614e6d03d9f6f05b7e3d56fb8087d63eb52f1bc')
-
-prepare() {
-  cp -a m2r-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/m2r-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/m2r-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/m2r-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/m2r-$pkgver-py2
-  python2 setup.py pytest
-}
-
-package_m2r() {
-  depends=('python-mistune' 'python-docutils' 'python-setuptools')
-
-  cd "$srcdir"/m2r-$pkgver
-  python setup.py install --root="$pkgdir" --prefix=/usr --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-m2r() {
-  depends=('python2-mistune' 'python2-docutils' 'python2-setuptools')
-
-  cd "$srcdir"/m2r-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --prefix=/usr --optimize=1
-  mv "$pkgdir"/usr/bin/m2r{,-python2}
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: m2r/repos/community-staging-any/PKGBUILD (from rev 750927, m2r/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-11 15:10:07 UTC (rev 750928)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=m2r
+pkgname=(m2r python2-m2r)
+pkgver=0.2.1
+pkgrel=5
+pkgdesc="Markdown to reStructuredText converter"
+arch=('any')
+url="https://github.com/miyakogi/m2r"
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-mistune' 'python2-mistune'
+             'python-docutils' 'python2-docutils')
+checkdepends=('python2-mock' 'python-pygments' 'python2-pygments' 'python-pytest-runner'
+              'python2-pytest-runner')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/miyakogi/m2r/archive/v$pkgver.tar.gz")
+sha512sums=('847f04538ee52f0b0a88cee9474ed889e8114a3a7b1fb221cdaa867ab70ca52f517250f2c8bbf795ae598c7b6614e6d03d9f6f05b7e3d56fb8087d63eb52f1bc')
+
+prepare() {
+  cp -a m2r-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/m2r-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/m2r-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/m2r-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/m2r-$pkgver-py2
+  python2 setup.py pytest
+}
+
+package_m2r() {
+  depends=('python-mistune' 'python-docutils' 'python-setuptools')
+
+  cd "$srcdir"/m2r-$pkgver
+  python setup.py install --root="$pkgdir" --prefix=/usr --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-m2r() {
+  depends=('python2-mistune' 'python2-docutils' 'python2-setuptools')
+
+  cd "$srcdir"/m2r-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --prefix=/usr --optimize=1
+  mv "$pkgdir"/usr/bin/m2r{,-python2}
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list