[aur-general] Stumped on python split package

Storm Dragon stormdragon2976 at gmail.com
Mon Jun 30 15:11:54 EDT 2014


Hi,
I must be missing something. When I install python-pypump-git or python2-pypump-git, I get the same package. I have other split packages installed and they install correctly. Can someone look at this PKGBUILD and let me know what I did wrong?
Thanks
Storm
-- 

-- 
Registered Linux user number 508465: https://linuxcounter.net/user/508465.html
My blog, Thoughts of a Dragon: http://www.stormdragon.us/
get my public PGP key: gpg --keyserver wwwkeys.pgp.net --recv-key 43DDC193
How many Internet mail list subscribers does it take to change a lightbulb? http://goo.gl/eO4PJ
"Serpent's kin, born of sin. Dark within, father of the wolf!"
Amon Amarth - Father of the Wolf
-------------- next part --------------
# Maintainer: Storm Dragon <stormdragon2976 at gmail.com> 

pkgbase=python-pypump-git
pkgname=("python-pypump-git" "python2-pypump-git")
pkgver=v0.5.r76.gc73e093
pkgrel=2
pkgdesc="An interface to the pump.io API's."
arch=('any')
url="https://github.com/xray7224/pypump"
license=('GPL3')
source=("git+https://github.com/xray7224/pypump.git")
md5sums=('SKIP')

pkgver()
{
  cd "${srcdir}/pypump"
  git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}
 
package_python-pypump-git()
{
  depends=('python' 'python-requests' 'python-requests-oauthlib' 'python-six' 'python-dateutil')
makedepends=('python-setuptools')
  cd "${srcdir}/pypump"
  python setup.py install --root="${pkgdir}/" --optimize=1
}

package_python2-pypump-git()
{
  depends=('python2' 'python2-requests' 'python2-requests-oauthlib' 'python2-six' 'python2-dateutil')
makedepends=('python2-setuptools')
  cd "${srcdir}/pypump"
  python2 setup.py install --root="${pkgdir}/" --optimize=1
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/aur-general/attachments/20140630/f69a3b03/attachment-0001.asc>


More information about the aur-general mailing list