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

Felix Yan felixonmars at archlinux.org
Mon Nov 9 15:37:03 UTC 2020


    Date: Monday, November 9, 2020 @ 15:37:02
  Author: felixonmars
Revision: 747021

archrelease: copy trunk to community-staging-any

Added:
  python-editor/repos/community-staging-any/
  python-editor/repos/community-staging-any/PKGBUILD
    (from rev 747019, python-editor/trunk/PKGBUILD)

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

Copied: python-editor/repos/community-staging-any/PKGBUILD (from rev 747019, python-editor/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 15:37:02 UTC (rev 747021)
@@ -0,0 +1,30 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Michael Straube <straubem at gmx.de>
+# Contributor: Kevin Brubeck Unhammer <unhammer at fsfe.org>
+
+pkgname=python-editor
+pkgver=1.0.4
+pkgrel=5
+pkgdesc='Programmatically open an editor, capture the result'
+url='https://github.com/fmoo/python-editor'
+arch=('any')
+license=('Apache')
+depends=('python')
+makedepends=('python-setuptools')
+source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/fmoo/python-editor/archive/${pkgver}.tar.gz)
+sha256sums=('61a4758919668b8ffe5eb389a86a4c2e8c2f789c02b9c6aee0ddf3c4ebfe3fd3')
+sha512sums=('2a01ffa5967be31ec425ddb9cd2c57f327b61547f011e1510005a7b6cab30ba01fe81e18cb38e7c4f39796350701997d11a5059568b987355878671a5299eaf5')
+
+build() {
+  (cd ${pkgbase}-${pkgver}
+    python setup.py build
+  )
+}
+
+package() {
+  cd ${pkgbase}-${pkgver}
+  python setup.py install --root="${pkgdir}" -O1 --skip-build
+  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list