i tried using yaourt to download it and when it tried to install hsaudiotag it showed me this
"==> ERROR: Failure while downloading http://pypi.python.org/packages/source/h/hsaudiotag/hsaudiotag-1.1.1.tar.gz
Aborting...
==> ERROR: Makepkg was unable to build hsaudiotag."
You kind of omitted the most important part of the error
I tried it on my end and was unsuccessful aswell.
curl: (22) The requested URL returned error: 403 SSL is required
==> ERROR: Failure while downloading http://pypi.python.org/packages/source/h/hsaudiotag/hsaudiotag-1.1.1.tar.gz
Aborting...
:: failed to verify hsaudiotag integrity
That first line is the source of the problem.
But I can download the file manually by pointing my browser at the link.
With that clue I got it to work by editing the pkgbuild for hsaudiotag and simply changing the source url from http to https on line 14 of the pkgbuild like so :
source=("https://pypi.python.org/packages/source/h/$pkgname/$pkgname-$pkgver.tar.gz")
yaourt should give you the option to edit it before install.
i edited it but it still says it is unable to build hsaudiotag.
is anything wrong here?
vim:set ts=2 sw=2 et:
# Maintainer: Score_Under <seejay.11@gmail.com>
# Contributor: OK100 <ok100.ok100.ok100@gmail.com>
pkgname=hsaudiotag
pkgver=1.1.1
pkgrel=1
pkgdesc="Read metadata (tags) of mp3, mp4, wma, ogg, flac and aiff files (python2 version)"
url="https://pypi.python.org/pypi/hsaudiotag"
arch=(any)
license=('BSD')
depends=('python2')
makedepends=('python2-setuptools')
source=("http://pypi.python.org/packages/source/h/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('751a554bd22c8c588bf25dd7ef00b9ac')
build() {
cd "$srcdir/$pkgname-$pkgver"
python2 setup.py build
}
i still have the same error
another path to the same system needs to be changed
source=("http://pypi.python.org/packages/source/h/$pkgname/$pkgname-$pkgver.tar.gz")
changed it and it still wont build
Good point, the problem is in source=() not it url=()
change the source link and it's ok, trien just now
source=(“http://pypi.python.org/packages/source/h/$pkgname/$pkgname-$pkgver.tar.gz”)
I did change the source link.
Nope, It need to be https://
(moving from #newbies to #technical-issues-and-assistance:aur as this is an issue with an AUR package)
source=(“https://pypi.python.org/packages/source/h/$pkgname/$pkgname-$pkgver.tar.gz”)
still wont build
I have only added the 's'
$ mkpkg -f
==> Creazione del pacchetto: hsaudiotag 1.1.1-1 (mar 19 dic 2017, 22.14.36, CET)
==> Controllo delle dipendenze durante l'avvio in corso...
==> Controllo delle dipendenze durante la compilazione in corso...
==> Download dei sorgenti in corso...
-> È stato trovato hsaudiotag-1.1.1.tar.gz
==> Validazione di source file con md5sums...
hsaudiotag-1.1.1.tar.gz ... Verificato
==> Rimozione dell'esistente directory $srcdir/ in corso...
==> Estrazione dei sorgenti in corso...
-> Estrazione di hsaudiotag-1.1.1.tar.gz usando bsdtar in corso...
==> Avvio di build() in corso...
running build
running build_py
creating build
creating build/lib
creating build/lib/hsaudiotag
[...]
I'm using the manual way with yaourt -G and makepkg
My gosh. How embarassing. Of course I meant source. Edited above.
(for my part I used pacaur -Se hsaudiotag
)
I finaly got it to build by replaceing the source, thanks. :^)
hsaudiotag package in AUR have been updated to https for source
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.