[arch-commits] Commit in python-setuptools-markdown/repos/community-any (2 files)

Felix Yan felixonmars at archlinux.org
Tue Mar 19 06:19:46 UTC 2019


    Date: Tuesday, March 19, 2019 @ 06:19:45
  Author: felixonmars
Revision: 442557

archrelease: copy trunk to community-any

Added:
  python-setuptools-markdown/repos/community-any/PKGBUILD
    (from rev 442556, python-setuptools-markdown/trunk/PKGBUILD)
Deleted:
  python-setuptools-markdown/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   67 ++++++++++++++++++++++++-------------------------------------
 1 file changed, 27 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-19 06:19:30 UTC (rev 442556)
+++ PKGBUILD	2019-03-19 06:19:45 UTC (rev 442557)
@@ -1,40 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-setuptools-markdown
-pkgname=(python-setuptools-markdown python2-setuptools-markdown)
-pkgver=0.2
-pkgrel=3
-pkgdesc="Use Markdown for your project description"
-arch=('any')
-url="https://github.com/msabramo/setuptools-markdown"
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pypandoc' 'python2-pypandoc' 'git')
-source=("git+https://github.com/msabramo/setuptools-markdown.git#commit=$_commit")
-md5sums=('SKIP')
-
-prepare() {
-  cp -a setuptools-markdown{,-py2}
-}
-
-build() {
-  cd "${srcdir}/setuptools-markdown"
-  python setup.py build
-
-  cd "${srcdir}/setuptools-markdown-py2"
-  python2 setup.py build
-}
-
-package_python-setuptools-markdown() {
-  depends=('python-setuptools' 'python-pypandoc')
-
-  cd "${srcdir}/setuptools-markdown"
-  python setup.py install --root "$pkgdir"
-}
-
-package_python2-setuptools-markdown() {
-  depends=('python2-setuptools' 'python2-pypandoc')
-
-  cd "${srcdir}/setuptools-markdown-py2"
-  python2 setup.py install --root "$pkgdir"
-}

Copied: python-setuptools-markdown/repos/community-any/PKGBUILD (from rev 442556, python-setuptools-markdown/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-19 06:19:45 UTC (rev 442557)
@@ -0,0 +1,27 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-setuptools-markdown
+pkgver=0.2
+_commit=48c3977bf3404141fec78e2d1f8658bfbcf82f53
+pkgrel=4
+pkgdesc="Use Markdown for your project description"
+arch=('any')
+url="https://github.com/msabramo/setuptools-markdown"
+license=('MIT')
+depends=('python-setuptools' 'python-pypandoc')
+source=("$pkgname-$_commit.tar.gz::https://github.com/msabramo/setuptools-markdown/archive/$_commit.tar.gz")
+sha512sums=('8e946ddcc488ef42179eb1da5bc3c155c3f307744074c0c0e2f6bcc9d131a6df8504c8c1e7e862fdeb3a89288c4c4ccbab1d49eb331ceb9599bb89e1a0904655')
+
+prepare() {
+  mv setuptools-markdown-{$_commit,$pkgver}
+}
+
+build() {
+  cd setuptools-markdown-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd setuptools-markdown-$pkgver
+  python setup.py install --root "$pkgdir"
+}



More information about the arch-commits mailing list