diff options
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 16 insertions, 13 deletions
@@ -1,18 +1,18 @@ -# Generated by mksrcinfo v8 -# Thu Jun 16 10:34:14 UTC 2016 pkgbase = python-rosdistro pkgdesc = A tool to work with rosdistro files - pkgver = 0.4.7 + pkgver = 0.6.2 pkgrel = 1 url = http://wiki.ros.org/rosdistro arch = any - license = BSD, MIT + license = BSD makedepends = python makedepends = python-setuptools depends = python conflicts = python2-rosdistro - source = https://pypi.python.org/packages/source/r/rosdistro/rosdistro-0.4.7.tar.gz - sha256sums = f44757336bcee4089f6f6d570248e7c4e09eebfe5238d6ae60d8bd35361eedc4 + source = http://download.ros.org/downloads/rosdistro/rosdistro-0.6.2.tar.gz + source = https://raw.githubusercontent.com/ros-infrastructure/rosdistro/f6a87bf67a39c64ed962c3f79d7b45256e0c14a7/LICENSE.txt + sha256sums = 834776e7419465b23080b099ddb3b981fbe8623442ed2b446989f3fa998fb178 + sha256sums = 32aac2a1d3abb4c6ee1c0a973f6337874228d459a2565c5ad4c6a4dc46e84b3b pkgname = python-rosdistro @@ -1,24 +1,27 @@ #Automatically generated by pip2arch on 2014-06-09 pkgname=python-rosdistro -pkgver=0.4.7 +pkgver=0.6.2 pkgrel=1 pkgdesc="A tool to work with rosdistro files" +arch=('any') url="http://wiki.ros.org/rosdistro" +license=('BSD') depends=('python') makedepends=('python' 'python-setuptools') -license=('BSD, MIT') -arch=('any') -source=("https://pypi.python.org/packages/source/r/rosdistro/rosdistro-$pkgver.tar.gz") -sha256sums=('f44757336bcee4089f6f6d570248e7c4e09eebfe5238d6ae60d8bd35361eedc4') +source=("http://download.ros.org/downloads/rosdistro/rosdistro-$pkgver.tar.gz" + "https://raw.githubusercontent.com/ros-infrastructure/rosdistro/f6a87bf67a39c64ed962c3f79d7b45256e0c14a7/LICENSE.txt") +sha256sums=('834776e7419465b23080b099ddb3b981fbe8623442ed2b446989f3fa998fb178' + '32aac2a1d3abb4c6ee1c0a973f6337874228d459a2565c5ad4c6a4dc46e84b3b') conflicts=(python2-rosdistro) build() { - cd $srcdir/rosdistro-$pkgver + cd rosdistro-$pkgver python setup.py build } package() { - cd $srcdir/rosdistro-$pkgver + cd rosdistro-$pkgver python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 ../LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } |