[arch-commits] Commit in python-readme-renderer/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Tue Nov 10 04:07:22 UTC 2020


    Date: Tuesday, November 10, 2020 @ 04:07:21
  Author: foutrelis
Revision: 748501

archrelease: copy trunk to community-staging-any

Added:
  python-readme-renderer/repos/community-staging-any/
  python-readme-renderer/repos/community-staging-any/PKGBUILD
    (from rev 748499, python-readme-renderer/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: python-readme-renderer/repos/community-staging-any/PKGBUILD (from rev 748499, python-readme-renderer/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 04:07:21 UTC (rev 748501)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-readme-renderer
+pkgver=28.0
+pkgrel=2
+pkgdesc="Safely render long_description/README files in Warehouse"
+url="https://github.com/pypa/readme_renderer"
+license=('Apache')
+arch=('any')
+depends=('python-bleach' 'python-docutils' 'python-pygments' 'python-six')
+optdepends=('python-cmarkgfm: for Markdown support')
+makedepends=('python-setuptools' 'python-cmarkgfm')
+checkdepends=('python-pytest-runner' 'python-mock')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pypa/readme_renderer/archive/$pkgver.tar.gz")
+sha512sums=('04f47e5c1fdddd8b909701eccd7112dbe51ac3285c00287f53d1a2f180ba8c2f224a3cbf4465a2ebec313d770f9dea92a1469444a850b64842db34f83d089c3f')
+
+build() {
+  cd readme_renderer-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd readme_renderer-$pkgver
+  python setup.py pytest || echo "Tests failed"
+}
+
+package_python-readme-renderer() {
+  cd readme_renderer-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}


More information about the arch-commits mailing list