blob: 0c61ea262a87d43fd272468cb071226a2c878a47 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#Maintainer: jnanar <info@agayon.be>
pkgname=python-shortuuid-git
pkgver=v0.5.0.r18.g4da632a
pkgrel=1
pkgdesc="shortuuid is a simple python library that generates concise, unambiguous, URL-safe UUIDs."
arch=(any)
url="https://github.com/skorokithakis/shortuuid"
license=('BSD')
depends=('python')
makedepends=('git')
options=(!emptydirs)
provides=('python-shortuuid')
replaces=('python-shortuuid')
#optdepends=('')
source=('git+https://github.com/skorokithakis/shortuuid.git')
_gitname="shortuuid"
md5sums=('SKIP')
pkgver() {
cd $_gitname
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "$srcdir/$_gitname"
python setup.py install --root="$pkgdir/" --optimize=1
}
|