FS#42191 - [makepkg] --syncdeps ignores deps in split packages
Attached to Project:
Pacman
Opened by Stefan Tatschner (rumpelsepp) - Tuesday, 30 September 2014, 17:36 GMT
Last edited by Allan McRae (Allan) - Sunday, 31 January 2016, 03:51 GMT
Opened by Stefan Tatschner (rumpelsepp) - Tuesday, 30 September 2014, 17:36 GMT
Last edited by Allan McRae (Allan) - Sunday, 31 January 2016, 03:51 GMT
|
Details
makepkg --syncdeps ignores dependencies which are defined in
the package function of a split package such like this:
package_python-django-djblets() { depends=('python-django>=1.6.7' 'python-django<1.7' 'python-feedparser' 'python-pytz' 'python-pillow' 'python-django-pipeline' 'nodejs-uglify-js') makedepends=('python-setuptools' 'lessc') cd "${srcdir}/${_pkgname}-release-${pkgver}" python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 } package_python2-django-djblets() { depends=('python2-django>=1.6.7' 'python2-django<1.7' 'python2-feedparser' 'python2-pytz' 'python2-pillow' 'python2-django-pipeline' 'nodejs-uglify-js') makedepends=('python2-setuptools' 'lessc') cd "${srcdir}/${_pkgname}-release-${pkgver}" python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 } If I put the depends arrays outside of the package functions --syncdeps works. The version restriction inside the package function is ignored as well. |
This task depends upon
Closed by Allan McRae (Allan)
Sunday, 31 January 2016, 03:51 GMT
Reason for closing: None
Additional comments about closing: Documented in 599520e4
Sunday, 31 January 2016, 03:51 GMT
Reason for closing: None
Additional comments about closing: Documented in 599520e4
Not it is documented that makedepends is not able to be overridden.
Edit: the builds are inconsistent otherwise