blob: 7acebe101636dd07a653c979ff972307a5779f7a (
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
|
# Contributor: Lex Black <autumn-wind at web dot de>
# Contributor: alejandrogomez <alejandroogomez@gmail.com>
pypiname=isit
pkgbase=python-isit
pkgname=python-isit
pkgver=0.3.6
pkgrel=3
pkgdesc="Python library for discovering environment information (OS, Distribution, Python version)"
arch=('any')
url="https://pypi.python.org/pypi/isit/"
license=('AGPLv3')
depends=('python')
makedepends=('python-setuptools')
source=(https://pypi.io/packages/source/i/$pypiname/$pypiname-$pkgver.tar.gz)
md5sums=('cee801e13e06ce02463a66d5b8076bee')
build() {
cd $pypiname-$pkgver
python setup.py build
}
package() {
cd $pypiname-$pkgver
python setup.py install --root="$pkgdir/" --prefix=/usr --optimize=1 --skip-build
}
|