Package Details: rshell 0.0.30-1

Git Clone URL: (read-only, click to copy)
Package Base: rshell
Description: A remote shell for working with MicroPython boards.
Upstream URL:
Keywords: micropython shell
Licenses: MIT
Submitter: n0gg1n
Maintainer: SpotlightKid
Last Packager: SpotlightKid
Votes: 7
Popularity: 0.21
First Submitted: 2019-05-14 09:03
Last Updated: 2021-03-02 16:47

Latest Comments

n0gg1n commented on 2020-05-09 08:09

currently not using arch any more. Would be nice if someone could adopt the package maintenance.

SpotlightKid commented on 2020-05-08 12:08

@XenGi: each entry point command line script imports pkg_resources.

XenGi commented on 2020-05-08 10:25

Seems like I never came back to this. You don't have to rename the package. It's completely fine like it is. The Arch guidelines ( state that a python library should be named python-pkg and a tool written in python like rshell should be just called pkg without the prefix. Sorry for the confusion.

SpotlightKid: Are you sure about this? I don't see a reason why this would be necessary. Can you point us to some docs that describe that behaviour?

SpotlightKid commented on 2020-05-07 14:12

Please move python-setuptools from makedepends into depends.

Every Python package, which installs scripts via setuptools entry points, as rshell does too, needs python-setuptools as a run-time dependency, i.e. in depends, not only at build time (i.e. makedepends).

n0gg1n commented on 2020-01-23 08:20

Renaming packages is actually not that that name too confusing?

XenGi commented on 2020-01-22 19:57

np. You forgot to name the package python-rshell.

n0gg1n commented on 2020-01-22 14:45

Thanks for your tips!

XenGi commented on 2020-01-22 12:58

Why do you have python3 in makedepends but python in depends? Just use python for both.

rshell uses a source package so you can just use https://${_name::1}/$_name/$_name-$pkgver.tar.gz in the PKGBUILDs source array.


This would be my recommended PKGBUILD:

$ diff PKGBUILD.old
< pkgname=rshell
< pkgver=0.0.24
> pkgname=python-rshell
> _name=${pkgname#python-}
> provides=(rshell)
> conflicts=(rshell)
> pkgver=0.0.26
< depends=('python' 'python-pyudev' 'python-pyserial')
< makedepends=('python3')
> depends=('python-pyudev' 'python-pyserial')
> makedepends=('python-setuptools')
< source=('')
< md5sums=('6fc1bda8781d1ca77a0d1e37b58620ef')
> source=("${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
> sha256sums=('cc447a3c9853a50585d7fdd6356922e8a89debb67932e60cf241f23fbd72db16')
<     cd $srcdir/rshell-0.0.24
>     cd $srcdir/${_name}-${pkgver}
<     cd $srcdir/rshell-0.0.24
<     python install --root="$pkgdir" --optimize=1 
>     cd $srcdir/${_name}-${pkgver}
>     python install --root="${pkgdir}" --optimize=1 --skip-build

py_crash commented on 2020-01-19 04:27

You forgot the python-udev dependency. It breaks when trying to open