@ -0,0 +1,39 @@ | |||
# Maintainer: Pekka Helenius <pekka dot helenius at fjordtek dot com> | |||
pkgname=python-ipmisim-git | |||
_pkgname=ipmisim | |||
pkgver=0.10.r0.g62dd7c0 | |||
pkgrel=1 | |||
pkgdesc='Fake IPMI server based on conpot and pyghmi' | |||
arch=('any') | |||
url='https://pypi.org/project/ipmisim/' | |||
license=('Apache2') | |||
depends=( | |||
'python' | |||
'python-pycrypto' #AUR package | |||
'python-future' | |||
'python-pyghmi' | |||
) | |||
makedepends=('python-setuptools') | |||
provides=(python-ipmisim) | |||
conflicts=(python-ipmisim) | |||
source=( | |||
${pkgname}::git+https://github.com/shapeblue/${_pkgname} | |||
) | |||
sha256sums=('SKIP') | |||
pkgver() { | |||
cd $pkgname | |||
git describe --long --tags | sed 's/^[a-z]//;s/\([^-]*-g\)/r\1/;s/-/./g' | |||
} | |||
build() { | |||
cd $pkgname | |||
python setup.py build | |||
} | |||
package() { | |||
cd $pkgname | |||
python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build | |||
} |
@ -0,0 +1,33 @@ | |||
# Maintainer: Pekka Helenius <pekka dot helenius at fjordtek dot com> | |||
pkgname=python-pycrypt-git | |||
_pkgname=pycrypt | |||
pkgver=0.7.2.r0.gb665333 | |||
pkgrel=1 | |||
pkgdesc='A fast C extension for TwoFish encryption in Python' | |||
arch=('any') | |||
url='https://pypi.org/project/pycrypt/' | |||
license=('Apache2') | |||
depends=('python') | |||
makedepends=('python-setuptools' 'gcc') | |||
provides=(python-pycrypt) | |||
conflicts=(python-pycrypt) | |||
source=( | |||
${pkgname}::git+https://github.com/Noctem/${_pkgname} | |||
) | |||
sha256sums=('SKIP') | |||
pkgver() { | |||
cd $pkgname | |||
git describe --long --tags | sed 's/^[a-z]//;s/\([^-]*-g\)/r\1/;s/-/./g' | |||
} | |||
build() { | |||
cd $pkgname | |||
python setup.py build | |||
} | |||
package() { | |||
cd $pkgname | |||
python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build | |||
} |
@ -0,0 +1,33 @@ | |||
# Maintainer: Pekka Helenius <pekka dot helenius at fjordtek dot com> | |||
pkgname=python-pyghmi-git | |||
_pkgname=pyghmi | |||
pkgver=1.5.33.r5.ge1e5fa98 | |||
pkgrel=1 | |||
pkgdesc='A Pure python IPMI library' | |||
arch=('any') | |||
url='https://pypi.org/project/pyghmi/' | |||
license=('Apache2') | |||
depends=('python') | |||
makedepends=('python-setuptools' 'python-pbr') | |||
provides=(python-pyghmi) | |||
conflicts=(python-pyghmi) | |||
source=( | |||
${pkgname}::git+https://opendev.org/x/${_pkgname} | |||
) | |||
sha256sums=('SKIP') | |||
pkgver() { | |||
cd $pkgname | |||
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | |||
} | |||
build() { | |||
cd $pkgname | |||
python setup.py build | |||
} | |||
package() { | |||
cd $pkgname | |||
python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build | |||
} |