blob: 1ea5173fc4eb88b72cc73bc575398e0549043974 (
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
31
32
33
34
|
# Maintainer: Daniel Maslowski <info@orangecms.org>
_gitname=conda
pkgname=python-${_gitname}-git
pkgver=4.2.12.r562.g08d71a7
pkgrel=1
pkgdesc="OS-agnostic, system-level binary package manager and ecosystem"
arch=('any')
url="http://conda.pydata.org/docs/"
license=('BSD')
depends=('python' 'python-psutil' 'python-pycosat' 'python-requests' 'python-ruamel.yaml-hg')
optdepends=(
'python-conda-build: to use the conda build command'
)
makedepends=('git')
provides=('activate' 'conda' 'deactivate')
conflicts=('python-conda')
options=(!emptydirs)
source=("git+https://github.com/$_gitname/$_gitname")
md5sums=('SKIP')
pkgver() {
cd "${_gitname}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "$srcdir/${_gitname}"
python setup.py install --root="$pkgdir/" --optimize=1
install -Dm 644 shell/conda.fish $pkgdir/usr/share/fish/functions/conda.fish
install -Dm 644 LICENSE.txt $pkgdir/usr/share/licenses/${pkgname}/LICENSE.txt
}
# vim:set ts=2 sw=2 et:
|