Package Details: python-dukpy 0.5.0-1

Git Clone URL: https://aur.archlinux.org/python-dukpy.git (read-only, click to copy)
Package Base: python-dukpy
Description: Simple JavaScript interpreter for Python
Upstream URL: https://github.com/amol-/dukpy
Keywords: duktape
Licenses: MIT
Submitter: jelly
Maintainer: micwoj92
Last Packager: micwoj92
Votes: 2
Popularity: 0.022995
First Submitted: 2022-06-30 19:05 (UTC)
Last Updated: 2025-04-15 22:33 (UTC)

Latest Comments

1 2 Next › Last »

micwoj92 commented on 2025-11-09 22:26 (UTC)

Added

tee commented on 2025-11-08 12:23 (UTC)

can you add duktape to keywords?

micwoj92 commented on 2024-12-15 13:03 (UTC)

Added.

corax2.05 commented on 2024-12-13 18:00 (UTC)

Please provide a build for aarch64 again. The build works flawlessly.

micwoj92 commented on 2024-07-16 17:49 (UTC)

Point 1: There is package_python-dukpy which is remnant of when this split package. If the tool you are using to build packages in clean chroot does not support this, then it is issue of the tool and not of the package. I always build using makechrootpkg and it works.

Point 2: No, it is not "definitely wrong" In your first comment you mentioned ${pkgdir} and not you mentioned ${srcdir}. I think I get what you mean now

In the past it was not the case, but as of "few years"(I don't know exactly when) the functions (with exeption of verify()) already "start" in $srcdir. You can check this with this minimal example:

pkgname=qwertyuiop
pkgver=1
pkgrel=1
arch=('any')

prepare() {
pwd
cd $srcdir
pwd
}
verify() {
pwd
cd $srcdir
pwd
}
build() {
pwd
cd $srcdir
pwd
}
check() {
pwd
cd $srcdir
pwd
}
package() {
pwd
cd $srcdir
pwd
}

daniel_shub commented on 2024-07-16 00:29 (UTC)

It still does not build in a clean chroot for me. It is missing a package function and 'cd dukpy-${pkgver}' is definitely wrong and likely should be 'cd "${srcdir}/dukpy-${pkgver}"'

Have you seen https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot

micwoj92 commented on 2024-07-14 19:21 (UTC)

Fixed. I don't understand what you mean by "line 23 at a minimum needs to be referenced to ${pkgdir}".

daniel_shub commented on 2024-07-14 19:14 (UTC)

This does not build in a clean chroot for me. I am pretty sure that the pkgname variable needs to be set (probably just uncomment line 4) and line 23 at a minimum needs to be referenced to ${pkgdir}

micwoj92 commented on 2024-07-08 23:53 (UTC)

This is not proper way to do this. pip is definitely not needed to build, this issue was due to missing python-mutf8 checkdependency. Now that you have deleted check, this issue is no longer present.