Package Details: python-ovh 0.4.8-3

Git Clone URL: https://aur.archlinux.org/python-ovh.git (read-only)
Package Base: python-ovh
Description: Official OVH.com API wrapper
Upstream URL: https://api.ovh.com
Keywords: python
Licenses: custom
Submitter: ebiadsu
Maintainer: ebiadsu
Last Packager: ebiadsu
Votes: 1
Popularity: 0.000005
First Submitted: 2017-08-21 15:51
Last Updated: 2018-04-08 18:52

Latest Comments

quartic commented on 2018-04-08 19:40

Now it is installing fine. Thanks!

ebiadsu commented on 2018-04-08 18:53

@quartic

I don't remember why I used pip. Possible because there was a script like pip2pkgbuild.

I have updated the package accordingly using setuptools. Please check.

quartic commented on 2018-04-08 12:22

This package does not build (makepkg complains about missing LICENSE file).

Why do you use pip instead of the more standard way of packaging python packages with setuptools?

pkgname=python-ovh
pkgver=0.4.8
pkgrel=2
pkgdesc="Official OVH.com API wrapper"
arch=('any')
url="<https://api.ovh.com/>"
license=('custom')
depends=('python')
makedepends=('python-setuptools')
source=("<https://github.com/ovh/python-ovh/archive/v>${pkgver}.tar.gz")
sha256sums=('37493a24271f17fdda1693c414170eb948cc945b8cb9105878989d2948d8ccae')

package() {
    cd "${pkgname}-${pkgver}"
    python setup.py install --root="${pkgdir}/" --optimize=1
    install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}