* add python-ghp-import
This commit is contained in:
parent
6c9f9e87b5
commit
b880858a36
16
python/python-ghp-import/.SRCINFO
Normal file
16
python/python-ghp-import/.SRCINFO
Normal file
@ -0,0 +1,16 @@
|
||||
pkgbase = python-ghp-import
|
||||
pkgdesc = Copy your docs directly to the gh-pages branch
|
||||
pkgver = 2.1.0
|
||||
pkgrel = 2
|
||||
url = https://pypi.python.org/pypi/ghp-import
|
||||
arch = any
|
||||
license = custom:Tumbolia
|
||||
makedepends = python-setuptools
|
||||
makedepends = git
|
||||
depends = python
|
||||
conflicts = ghp-import
|
||||
replaces = ghp-import
|
||||
source = ghp-import-2.1.0.tar.gz::https://pypi.python.org/packages/source/g/ghp-import/ghp-import-2.1.0.tar.gz
|
||||
sha512sums = 10665a1a6392fe047d1e42d7f107511b1a31de02625200e7db1c637f33dc8dc41ec71c2db4f562c6e94a4efb4836efef8a29177d953d99fe17a889169074050c
|
||||
|
||||
pkgname = python-ghp-import
|
31
python/python-ghp-import/PKGBUILD
Normal file
31
python/python-ghp-import/PKGBUILD
Normal file
@ -0,0 +1,31 @@
|
||||
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
||||
# Maintainer: Jiachen Yang <farseerfc@gmail.com>
|
||||
# AUR Maintainer: valère monseur <valere dot monseur at ymail dot com>
|
||||
|
||||
pkgname=python-ghp-import
|
||||
_pkgname=ghp-import
|
||||
pkgver=2.1.0
|
||||
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=("${_pkgname}-${pkgver}.tar.gz::https://pypi.python.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
|
||||
#source=("https://github.com/davisp/${_pkgname}/archive/${pkgver}.tar.gz")
|
||||
#source=("${_pkgname}-${pkgver}::git+https://github.com/davisp/ghp-import.git#commit=ab2637fb7a84ed79d6baeb74db7f9e544a448a04")
|
||||
sha512sums=('10665a1a6392fe047d1e42d7f107511b1a31de02625200e7db1c637f33dc8dc41ec71c2db4f562c6e94a4efb4836efef8a29177d953d99fe17a889169074050c')
|
||||
|
||||
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"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user