Date: Friday, August 11, 2017 @ 16:30:15
  Author: felixonmars
Revision: 249825

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  112 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 56 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2017-08-11 16:29:58 UTC (rev 249824)
+++ PKGBUILD    2017-08-11 16:30:15 UTC (rev 249825)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonm...@archlinux.org>
-
-pkgbase=m2r
-pkgname=(m2r python2-m2r)
-pkgver=0.1.7
-pkgrel=1
-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=('6c17329d6fba1b7984d015e6c67637a9c6728b7be0151d8755117f4ef460e2588167cc4dd09a686eca7d0ce5ac361851afaa483a37c488d556a64c1014c2ec8f')
-
-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-any/PKGBUILD (from rev 249824, m2r/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2017-08-11 16:30:15 UTC (rev 249825)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+
+pkgbase=m2r
+pkgname=(m2r python2-m2r)
+pkgver=0.1.8
+pkgrel=1
+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=('c1fdbce1af2d837261ca27b0ff6e6d407924528cf20ae80ecae065d3e09061c93a31a01b4e01da0bafa851004546d47ee3bc60c242baaf6f771770e753d7b0f0')
+
+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:

Reply via email to