Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#26437 - [python2-nose] conflict with python-nose unnecessary

Attached to Project: Arch Linux
Opened by Adrian Benson (abenson) - Friday, 14 October 2011, 04:42 GMT
Last edited by Angel Velasquez (angvp) - Saturday, 03 December 2011, 16:43 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Angel Velasquez (angvp)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

There is no real reason for these packages to conflict.
There are very good reasons to have both installed simultaneously.

Most unit-test's are implemented at the module level so all files are separate.
The only conflicts are:

/usr/man/man1/nosetests.1.gz
/usr/bin/nosetests

## The fix is to add the following line to the PKGBUILD

package_python2-nose() {
...
rm -rf "$pkgdir/usr/bin/nosetests" "$pkgdir"/usr/share
}



package_python-nose-doc(){
pkgdesc="Nose documentation and examples"

cd "$srcdir/nose-$pkgver/doc"
make html
mkdir -p "$pkgdir/usr/share/doc/python-nose"
cp -r .build/html "$pkgdir/usr/share/doc/python-nose"
cp -r ../examples "$pkgdir/usr/share/doc/python-nose"
}
This task depends upon

Closed by  Angel Velasquez (angvp)
Saturday, 03 December 2011, 16:43 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed on python{2}-nose 1.1.2-3
Comment by Adrian Benson (abenson) - Friday, 14 October 2011, 04:46 GMT
Oops pressed enter prematurely.

I have attached my own edited PKGBUILD for python-nose

You will note it has a nose-doc package - feel free to include it if you wish.
   PKGBUILD (1.6 KiB)
Comment by Thomas Dziedzic (tomd123) - Sunday, 13 November 2011, 22:29 GMT
this is quite annoying, would like a fix for this as some of my packages are basically untestable due to this conflict :/
Comment by Andrey Vlasovskikh (vlan) - Monday, 28 November 2011, 19:21 GMT
Please remove the 'conflicts' relation from the package and fix the script name in setup.py during the installation: nosetests2.

Loading...