Package Details: rshell 0.0.30-1

Git Clone URL: https://aur.archlinux.org/rshell.git (read-only, click to copy)
Package Base: rshell
Description: A remote shell for working with MicroPython boards.
Upstream URL: https://github.com/dhylands/rshell
Keywords: micropython shell
Licenses: MIT
Submitter: n0gg1n
Maintainer: SpotlightKid
Last Packager: SpotlightKid
Votes: 5
Popularity: 0.50
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 (https://wiki.archlinux.org/index.php/Python_package_guidelines#Package_naming) 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 easy...is 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:// files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz in the PKGBUILDs source array.

See: https://wiki.archlinux.org/index.php/Python_package_guidelines

This would be my recommended PKGBUILD:

$ diff PKGBUILD.old PKGBUILD.new
3,4c3,7
< pkgname=rshell
< pkgver=0.0.24
---
> pkgname=python-rshell
> _name=${pkgname#python-}
> provides=(rshell)
> conflicts=(rshell)
> pkgver=0.0.26
8,9c11,12
< depends=('python' 'python-pyudev' 'python-pyserial')
< makedepends=('python3')
---
> depends=('python-pyudev' 'python-pyserial')
> makedepends=('python-setuptools')
12,13c15,16
< source=('https://files.pythonhosted.org/packages/5e/70/d48ce2329734b214d81b08b7ba048869eefafac9d5b482dbccd4f7a4dbef/rshell-0.0.24.tar.gz')
< md5sums=('6fc1bda8781d1ca77a0d1e37b58620ef')
---
> source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
> sha256sums=('cc447a3c9853a50585d7fdd6356922e8a89debb67932e60cf241f23fbd72db16')
16c19
<     cd $srcdir/rshell-0.0.24
---
>     cd $srcdir/${_name}-${pkgver}
21,22c24,25
<     cd $srcdir/rshell-0.0.24
<     python setup.py install --root="$pkgdir" --optimize=1 
---
>     cd $srcdir/${_name}-${pkgver}
>     python setup.py 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