summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD12
2 files changed, 10 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6c4fd9ff1c25..109b45ee8b74 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
pkgbase = python-colcon-devtools
pkgdesc = An extension for colcon-core to provide information about the plugin system.
- pkgver = 0.2.1
+ pkgver = 0.2.2
pkgrel = 1
url = https://pypi.org/project/colcon-devtools/
arch = any
license = Apache
makedepends = python-setuptools
depends = python-colcon-core
- source = https://files.pythonhosted.org/packages/1d/ac/8f67927a04e8c05fb9d7abca0f5954382e92d136e00c9d961a8875b84bd7/colcon-devtools-0.2.1.tar.gz
- sha256sums = 5761e2025e4860ca618491aebd2bd12ab68ebd96c11c92ad1b7e1b1caf7a1ecf
+ source = https://files.pythonhosted.org/packages/source/c/colcon-devtools/colcon-devtools-0.2.2.tar.gz
+ sha256sums = 6ed3f29052c44e021b64106d5ae338e2b8936ba58c9f1c0496478327973d3f7b
pkgname = python-colcon-devtools
diff --git a/PKGBUILD b/PKGBUILD
index 6e7097ba4218..1a473600c083 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,8 @@
-#Maintainer: Tong Chunli<t.cunly at 163 dot com>
+# Maintainer: Achmad Fathoni<fathoni.id(at)gmail.com>
+# Contributor: Tong Chunli<t.cunly at 163 dot com>
pkgname=python-colcon-devtools
-pkgver=0.2.1
+_name=${pkgname:7}
+pkgver=0.2.2
pkgrel=1
pkgdesc="An extension for colcon-core to provide information about the plugin system."
arch=(any)
@@ -8,12 +10,12 @@ url="https://pypi.org/project/colcon-devtools/"
license=('Apache')
depends=('python-colcon-core')
makedepends=('python-setuptools')
-source=("https://files.pythonhosted.org/packages/1d/ac/8f67927a04e8c05fb9d7abca0f5954382e92d136e00c9d961a8875b84bd7/colcon-devtools-$pkgver.tar.gz")
-sha256sums=('5761e2025e4860ca618491aebd2bd12ab68ebd96c11c92ad1b7e1b1caf7a1ecf')
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+sha256sums=('6ed3f29052c44e021b64106d5ae338e2b8936ba58c9f1c0496478327973d3f7b')
package() {
- cd ${srcdir}/colcon-devtools-${pkgver}
+ cd ${srcdir}/${_name}-${pkgver}
python setup.py install --root=${pkgdir} --prefix=/usr --optimize=1
install -D -m644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"