Compare commits
No commits in common. "1c0489a547fbb29e3b6b1773887f110e2ef70986" and "8d64344cd4d253419892edd9512193a53a318419" have entirely different histories.
1c0489a547
...
8d64344cd4
2 changed files with 11 additions and 15 deletions
2
pijul
2
pijul
|
@ -1 +1 @@
|
||||||
Subproject commit 4a823992507c3a6d68b1d925a9a73bfb8c6e470f
|
Subproject commit 6f35ead5f25f7be172c3bb5a32b5fbbeef2ffef4
|
|
@ -3,32 +3,28 @@
|
||||||
pkgname=python-smbmc
|
pkgname=python-smbmc
|
||||||
_pkgname=smbmc
|
_pkgname=smbmc
|
||||||
pkgver=0.2.0
|
pkgver=0.2.0
|
||||||
pkgrel=4
|
pkgrel=3
|
||||||
pkgdesc="Supermicro BMC interface"
|
pkgdesc="Supermicro BMC interface"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="https://github.com/grawlinson/smbmc"
|
url="https://github.com/grawlinson/smbmc"
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
depends=('python-requests' 'python-defusedxml')
|
depends=('python-requests' 'python-defusedxml')
|
||||||
makedepends=('python-build' 'python-install' 'python-poetry-core')
|
makedepends=('python-dephell')
|
||||||
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
|
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
|
||||||
b2sums=('f73f077de5e2b7e6cb96a19a9eb952f8274e0cb1b5980437b365d6586ef557bbdd494362f301737776c924de2f580d91eec4e45ed18c32dd712b37565fb98784')
|
b2sums=('f73f077de5e2b7e6cb96a19a9eb952f8274e0cb1b5980437b365d6586ef557bbdd494362f301737776c924de2f580d91eec4e45ed18c32dd712b37565fb98784')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd "$_pkgname-$pkgver"
|
||||||
|
dephell deps convert --from pyproject.toml --to setup.py
|
||||||
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$_pkgname-$pkgver"
|
cd "$_pkgname-$pkgver"
|
||||||
|
python setup.py build
|
||||||
python -m build \
|
|
||||||
--wheel \
|
|
||||||
--skip-dependency-check \
|
|
||||||
--no-isolation
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$_pkgname-$pkgver"
|
cd "$_pkgname-$pkgver"
|
||||||
|
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
|
||||||
python -m install \
|
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||||
--optimize=1 \
|
|
||||||
--destdir="$pkgdir" \
|
|
||||||
dist/*.whl
|
|
||||||
|
|
||||||
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue