Skip to main content
Topic: Can't install acestream in AUR (acestream-engine) (Read 376 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Can't install acestream in AUR (acestream-engine)

It was working so far.

But now package acestream-engine no longer build because of a dependancy on python "nose".

Code: [Select]
Failure while downloading https://pypi.python.org/packages/source/n/nose/nose-1.3.7.tar.gz.asc

The AUR page shows some info

https://aur.archlinux.org/packages/python2-nose

Code: [Select]
Source run away, used source=("https://src.fedoraproject.org/repo/pkgs/python-nose/nose-1.3.7.tar.gz/4d3ad0ff07b61373d2cefc89c5d0b20b/")

Can someone help with this?




 

Re: Can't install acestream in AUR (acestream-engine)

Reply #2
Auto-reply for the record:

Code: [Select]
# Contributor: Marcell Meszaros < marcell.meszaros AT runbox.eu >
# Contributor: Konstantin Gizdov <[email protected]>
# Contributor: Dan McGee <[email protected]>
# Contributor: Angel Velasquez <[email protected]>
# Contributor: Douglas Soares de Andrade <[email protected]>
# Contributor: Cilyan Olowen <[email protected]>

pkgname='python2-nose'
_name="${pkgname#python2-}"
pkgver=1.3.7
pkgrel=13
pkgdesc='A discovery-based unittest extension (deprecated)'
arch=('any')
url="https://pypi.org/project/${_name}/${pkgver}/"
license=('LGPL2.1')
depends=(
  'python2'
  'python2-setuptools'
)
_tarname="${_name}-${pkgver}"
source=("https://files.pythonhosted.org/packages/58/a5/0dc93c3ec33f4e281849523a5a913fa1eea9a3068acfa754d44d88107a44/nose-1.3.7.tar.gz"{,.asc})
b2sums=('4bb479b2786f813f9e9a5fd401e30023a473a053ae013d7887be15af415422c09fb399af6058ae99ed65c5fa4da84eb274eb805e895ca74db159d952905f5be4'
        'SKIP')
validpgpkeys=('58B277C0D208F7AC460C07C84548B3A8C0D70C12') # John Szakmeister <[email protected]>

build() {
  cd "${_tarname}"

  sed -e "s:man/man1:share/man/man1:g" \
      -i setup.py
}

package() {
  cd "${_tarname}"

  python2 setup.py install --prefix='/usr' --root="${pkgdir}"

  mv "${pkgdir}/usr/bin/nosetests" "${pkgdir}/usr/bin/nosetests2"
  rm -rf "${pkgdir}/usr/share"
}
b2sums=('4bb479b2786f813f9e9a5fd401e30023a473a053ae013d7887be15af415422c09fb399af6058ae99ed65c5fa4da84eb274eb805e895ca74db159d952905f5be4'
        'SKIP')




The change is only to use that  url

https://files.pythonhosted.org/packages/58/a5/0dc93c3ec33f4e281849523a5a913fa1eea9a3068acfa754d44d88107a44/nose-1.3.7.tar.gz