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

Evangelos Foutras foutrelis at archlinux.org
Tue Nov 10 04:12:23 UTC 2020


    Date: Tuesday, November 10, 2020 @ 04:12:23
  Author: foutrelis
Revision: 748554

archrelease: copy trunk to community-staging-any

Added:
  python-ghp-import/repos/community-staging-any/
  python-ghp-import/repos/community-staging-any/PKGBUILD
    (from rev 748553, python-ghp-import/trunk/PKGBUILD)

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

Copied: python-ghp-import/repos/community-staging-any/PKGBUILD (from rev 748553, python-ghp-import/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 04:12:23 UTC (rev 748554)
@@ -0,0 +1,29 @@
+# Maintainer: Jiachen Yang <farseerfc at gmail.com>
+# AUR Maintainer: valère monseur <valere dot monseur at ymail dot com>
+
+pkgname=python-ghp-import
+_pkgname=ghp-import
+pkgver=0.5.5
+pkgrel=5
+pkgdesc='Copy your docs directly to the gh-pages branch'
+arch=('any')
+url="https://pypi.python.org/pypi/ghp-import"
+license=(custom:Tumbolia)
+depends=('python')
+makedepends=('python-setuptools' 'git')
+replaces=('ghp-import')
+conflicts=('ghp-import')
+source=("https://github.com/davisp/${_pkgname}/archive/${pkgver}.tar.gz")
+#source=("${_pkgname}-${pkgver}::git+https://github.com/davisp/ghp-import.git#commit=ab2637fb7a84ed79d6baeb74db7f9e544a448a04")
+sha512sums=('2c8204c38fe63417f59cad064e2080606974764e0ae014b13577db0f17686abdce947e6a086784019a658545c302dbf46dc6df958f44e64ddae95032f718684a')
+
+build() {
+  cd "${srcdir}/${_pkgname}-${pkgver}"
+  LC_CTYPE=en_US.UTF-8 python setup.py build
+}
+
+package() {
+  cd "${srcdir}/${_pkgname}-${pkgver}"
+  LC_CTYPE=en_US.UTF-8 python setup.py install --root="$pkgdir" -O1
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list