Package Details: python-kintree 1.1.0-6

Git Clone URL: https://aur.archlinux.org/python-kintree.git (read-only, click to copy)
Package Base: python-kintree
Description: Fast part creation in KiCad and InvenTree
Upstream URL: https://github.com/sparkmicro/Ki-nTree
Licenses: GPL3
Submitter: andrejr
Maintainer: GPereira (andrejr)
Last Packager: GPereira
Votes: 2
Popularity: 0.138807
First Submitted: 2021-07-31 21:29 (UTC)
Last Updated: 2024-05-01 18:35 (UTC)

Latest Comments

« First ‹ Previous 1 2

andrejr commented on 2023-05-24 09:31 (UTC)

@GPereira I added you as a co-maintainer on these Kicad-related packages.

andrejr commented on 2023-05-24 09:26 (UTC) (edited on 2023-05-24 09:31 (UTC) by andrejr)

That's not completely correct, there are several other Python deps that need packaging, whose transitive deps also need packaging. I've already packaged some of them, and thankfully the authors removed some obscure deps in the last month, so now all the deps are available (including python-kiutils).

Unfortunately, this package can't be fixed at this time, because 'python-flet' currently does not build.

I actually contributed to this package upstream to make it build via CI and push to PyPI.

Btw, I use these scripts to find the deps:

https://gitlab.com/andrejr/scripts/-/blob/master/find_pypi_deps_in_arch
https://gitlab.com/andrejr/scripts/-/blob/master/pypireq

This is the pkgbuild I'll post once they fix 'python-flet':

# Maintainer: Andrej Radović <r.andrej@gmail.com>
pkgname=python-kintree
_name=${pkgname#python-}
pkgver=1.0.1
pkgrel=1
pkgdesc="Fast part creation in KiCad and InvenTree"
url="https://github.com/sparkmicro/Ki-nTree"
depends=(
    'python'
    'python-digikey-api'
    'python-flet'
    'python-thefuzz'
    'python-inventree'
    'python-kiutils'
    'python-mouser'
    'python-multiprocess'
    'python-pyaml'
    'python-validators'
    'python-wrapt_timeout_decorator'
)
makedepends=('python-setuptools')
license=('GPL3')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('a80846d8f9a9938f69ee11da854fa8ae75898d8163a9aada8dad52fd9811c5a2')

build() {
    cd "$srcdir/$_name-$pkgver"
    python setup.py install --root="$pkgdir" --optimize=1
}

package() {
    cd "$srcdir/$_name-$pkgver"
    python -m installer --destdir="$pkgdir" dist/*.whl
}

GPereira commented on 2023-05-21 15:01 (UTC)

# Maintainer: Andrej Radović <r.andrej@gmail.com>
pkgname=python-kintree
_name=${pkgname#python-}
pkgver=1.0.1
pkgrel=1
pkgdesc="Fast part creation in KiCad and InvenTree"
url="https://github.com/sparkmicro/Ki-nTree"
depends=(
    'python'
    'python-digikey-api'
    'python-flet'
    'python-thefuzz'
    'python-inventree'
    'python-mouser'
    'python-multiprocess'
    'python-pyaml'
    'python-validators'
    'python-wrapt-timeout-decorator'
)
makedepends=('python-setuptools')
license=('GPL3')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('a80846d8f9a9938f69ee11da854fa8ae75898d8163a9aada8dad52fd9811c5a2')

build() {
    cd "$srcdir/$_name-$pkgver"
    poetry build
}

package() {
    cd "$srcdir/$_name-$pkgver"
    python -m installer --destdir="$pkgdir" dist/$_name-$pkgver-py3-none-any.whl
}