blob: d5286bd54c7ac56dcea52b3fa5bf5c14df66ae14 (
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
|
# Maintainer: Jack O'Connor <oconnor663@gmail.com>
pkgname=peru-git
pkgdesc='A tool for fetching code'
url='https://github.com/buildinspace/peru'
license=('MIT')
pkgver=679.bc8de02
pkgver() {
cd "$srcdir/peru"
echo $(git rev-list --count master).$(git rev-parse --short master)
}
pkgrel=1
arch=('any')
# Asyncio and pathlib are standard in Python 3.4, so they're not in the
# dependencies list.
depends=(python python-yaml python-docopt git)
makedepends=(python-setuptools)
optdepends=(
'mercurial: fetching from hg repos'
'subversion: fetching from svn repos'
)
conflicts=(peru)
source=('git+https://github.com/buildinspace/peru')
md5sums=('SKIP')
package() {
cd "$srcdir/peru"
python3 setup.py install --root="$pkgdir"
}
|