Package Details: python-opcodes-git r243.b606dde-1

Git Clone URL: https://aur.archlinux.org/python-opcodes-git.git (read-only, click to copy)
Package Base: python-opcodes-git
Description: Python module for instruction sets documentation in a format convenient for tools development (git version)
Upstream URL: https://github.com/Maratyszcza/Opcodes/
Licenses: BSD-2-Clause
Conflicts: python-opcodes
Provides: python-opcodes
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 0
Popularity: 0.000000
First Submitted: 2017-05-02 01:57 (UTC)
Last Updated: 2025-01-31 18:38 (UTC)

Required by (1)

Sources (1)

Latest Comments

dbermond commented on 2025-01-31 18:38 (UTC)

@abu_bua fixed. Thanks for reporting.

abu_bua commented on 2025-01-30 23:46 (UTC) (edited on 2025-01-30 23:48 (UTC) by abu_bua)

Installing fails with following error (using the yay installer):
...
==> Starting package_python-opcodes-git()...
install: cannot stat 'Opcodes/license.rst': No such file or directory
==> ERROR: A failure occurred in package_python-opcodes-git().
    Aborting...
 -> error making: python-opcodes-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
python-opcodes-git - exit status 4
Solution:

Change the install file "Opcodes/license.rst" to "Opcodes/LICENSE"

Patch:
diff --git a/PKGBUILD b/PKGBUILD 
index e7a1a0a..e59dffd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -31,5 +31,5 @@ check() {

 package_python-opcodes-git() {
    python -m installer --destdir="$pkgdir" "Opcodes/dist"/*.whl
-    install -D -m644 Opcodes/license.rst "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+    install -D -m644 Opcodes/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }