Package Details: python-name-that-hash 1.11.0-7

Git Clone URL: https://aur.archlinux.org/python-name-that-hash.git (read-only, click to copy)
Package Base: python-name-that-hash
Description: The Modern Hash Identification System.
Upstream URL: https://github.com/HashPals/Name-That-Hash
Keywords: Hash
Licenses: GPL3
Submitter: ckrielle
Maintainer: a821
Last Packager: a821
Votes: 2
Popularity: 0.000053
First Submitted: 2021-03-10 09:58 (UTC)
Last Updated: 2023-05-04 09:17 (UTC)

Latest Comments

aulonsal commented on 2023-01-01 16:48 (UTC) (edited on 2023-01-01 16:49 (UTC) by aulonsal)

To use the wheel as a source, https://wiki.archlinux.org/title/Python_package_guidelines#Source recommends something along the lines of: source=("https://files.pythonhosted.org/packages/py3/${_pkgname::1}/$_pkgname/${_pkgname//-/_}-$pkgver-py3-none-any.whl"). I tested, and it works but requires _pkgname=name-that-hash

aulonsal commented on 2021-06-17 15:39 (UTC) (edited on 2021-06-17 15:39 (UTC) by aulonsal)

Updated PKGBUILD for v1.10.0:

#Maintainer: Machina <machinax@protonmail.com>
pkgname=python-name-that-hash
_module=name-that-hash
pkgver=1.10.0
pkgrel=1
pkgdesc="The Modern Hash Identifcation System"
arch=('any')
url="https://github.com/HashPals/Name-That-Hash"
license=('GPL3')
depends=('python' 'python-click' 'python-rich' 'python-loguru')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz")
md5sums=('dd4524d3e196e34255a90fd8e0c39ddf')

build() 
{
    cd "$_module-$pkgver"
    python setup.py build
}

package() 
{
    cd "$_module-$pkgver"
    python setup.py install --prefix="/usr" --root="$pkgdir" --optimize=1 --skip-build
}

Also, the md5sum for 1.6 is wrong as of 2021/06/21 for some reason.