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

Felix Yan felixonmars at archlinux.org
Sun Jun 4 02:20:03 UTC 2017


    Date: Sunday, June 4, 2017 @ 02:20:03
  Author: felixonmars
Revision: 233907

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  114 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 57 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-04 02:19:45 UTC (rev 233906)
+++ PKGBUILD	2017-06-04 02:20:03 UTC (rev 233907)
@@ -1,57 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=m2r
-pkgname=(m2r python2-m2r)
-pkgver=0.1.5
-_commit=539a0794236ad25d03bab717c2cc5555d3b098de
-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/$_commit.tar.gz")
-sha512sums=('7e7ffeca35733b92daba8f01e80171da5a54508a4ed6a31ce9c846f764e439c882cd7eb3b2c1a0f9d1248ffee70f3de2059fcb54ec4817729d07f3b18d523dcb')
-
-prepare() {
-  cp -a m2r-$_commit{,-py2}
-}
-
-build() {
-  cd "$srcdir"/m2r-$_commit
-  python setup.py build
-
-  cd "$srcdir"/m2r-$_commit-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/m2r-$_commit
-  python setup.py pytest
-
-  cd "$srcdir"/m2r-$_commit-py2
-  python2 setup.py pytest
-}
-
-package_m2r() {
-  depends=('python-mistune' 'python-docutils' 'python-setuptools')
-
-  cd "$srcdir"/m2r-$_commit
-  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-$_commit-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 233906, m2r/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-06-04 02:20:03 UTC (rev 233907)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=m2r
+pkgname=(m2r python2-m2r)
+pkgver=0.1.6
+_commit=420b9bf7095968a37272d0844372356b22544c9c
+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/$_commit.tar.gz")
+sha512sums=('f08f37c17bd9ba7d42425417ad65289ddeb885704c2bbf8207f07ecec233cb81638891bc797f9457cf1d6d9133e58310168f48e2bcfe8d3a9377910f567d7e36')
+
+prepare() {
+  cp -a m2r-$_commit{,-py2}
+}
+
+build() {
+  cd "$srcdir"/m2r-$_commit
+  python setup.py build
+
+  cd "$srcdir"/m2r-$_commit-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/m2r-$_commit
+  python setup.py pytest
+
+  cd "$srcdir"/m2r-$_commit-py2
+  python2 setup.py pytest
+}
+
+package_m2r() {
+  depends=('python-mistune' 'python-docutils' 'python-setuptools')
+
+  cd "$srcdir"/m2r-$_commit
+  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-$_commit-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