[arch-commits] Commit in m2r/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Aug 13 03:05:41 UTC 2018
Date: Monday, August 13, 2018 @ 03:05:40
Author: felixonmars
Revision: 371237
archrelease: copy trunk to community-any
Added:
m2r/repos/community-any/PKGBUILD
(from rev 371236, m2r/trunk/PKGBUILD)
Deleted:
m2r/repos/community-any/PKGBUILD
----------+
PKGBUILD | 112 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 56 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-13 03:05:24 UTC (rev 371236)
+++ PKGBUILD 2018-08-13 03:05:40 UTC (rev 371237)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=m2r
-pkgname=(m2r python2-m2r)
-pkgver=0.1.15
-pkgrel=2
-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=('713ce4505767c7e7cceb35af4696d25451634a9a1f8033e0ff532702b45365aa572ab56668fcd015b177ed344164c5c7619af2b4bf9e744853bb9c122541c2f3')
-
-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 371236, m2r/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-13 03:05:40 UTC (rev 371237)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=m2r
+pkgname=(m2r python2-m2r)
+pkgver=0.2.0
+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=('df4af19bd8aac723a954f7ff96bdc780b182a935f68d193cd10ee44811f008c3dff9c39e7fe15b15eb89c0526fd50abfbb348d88135738903a96da7b8d873472')
+
+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