summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorKartik Mohta2022-01-22 10:47:55 +0530
committerKartik Mohta2022-01-22 10:56:31 +0530
commitb9c95c7213118667bbaabf3a5fc3f762301efe4c (patch)
treee236fa61850786cafe58a6c74b9a63cce719326b /PKGBUILD
parentcbb9fc51f8ec4533374cad1b7aa0b9b062a8c7b1 (diff)
downloadaur-python-catkin_pkg.tar.gz
Add patch for compatibility with new setuptools
From https://github.com/ros-infrastructure/catkin_pkg/pull/316
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 10 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a309b221132..53f9cd86f98 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=('python-catkin_pkg')
pkgver='0.4.24'
-pkgrel=1
+pkgrel=2
pkgdesc='Standalone Python library for the catkin package system'
arch=('any')
url='https://github.com/ros-infrastructure/catkin_pkg'
@@ -11,11 +11,18 @@ depends=('python' 'python-argparse' 'python-dateutil' 'python-docutils' 'python-
makedepends=('python-setuptools')
provides=('python-catkin-pkg')
conflicts=('python2-catkin_pkg' 'python-catkin-pkg')
-source=("https://github.com/ros-infrastructure/catkin_pkg/archive/${pkgver}.tar.gz")
-sha256sums=('57ea09fd51d9a67ccf5a0660a8f84794304182c4f644f27ad835a979567893b1')
+source=("https://github.com/ros-infrastructure/catkin_pkg/archive/${pkgver}.tar.gz"
+ "setuptools-replace-newlines-in-description.patch")
+sha256sums=('57ea09fd51d9a67ccf5a0660a8f84794304182c4f644f27ad835a979567893b1'
+ '0575506c2b25f44e6900f30c320b3dbdd6726174ab1ff45b22d8445b5a42f331')
_module='catkin_pkg'
+prepare() {
+ cd "${srcdir}/${_module}-${pkgver}"
+ patch --forward --strip=1 -i "${srcdir}/setuptools-replace-newlines-in-description.patch"
+}
+
build() {
cd "${srcdir}/${_module}-${pkgver}"
python setup.py build