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

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sun Dec 25 18:41:38 UTC 2016


    Date: Sunday, December 25, 2016 @ 18:41:37
  Author: bpiotrowski
Revision: 202262

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 202261, python-ghp-import/trunk/PKGBUILD)

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

Copied: python-ghp-import/repos/community-staging-any/PKGBUILD (from rev 202261, python-ghp-import/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2016-12-25 18:41:37 UTC (rev 202262)
@@ -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.4
+pkgrel=2
+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=('1607c679e2c8a9772e47472a35f4206f9e6bbcc3190d4ccc79de4d88a38396ec08badf030f0cda76a01e2d71f84f32d61c733fef361b8e3dbd52cd3e166932fc')
+
+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