Package Details: python2-quantities 0.10.1-2

Git Clone URL: https://aur.archlinux.org/python2-quantities.git (read-only)
Package Base: python2-quantities
Description: Support for physical quantities based on the popular numpy library
Upstream URL: http://packages.python.org/quantities
Licenses: BSD
Submitter: burdickjp
Maintainer: ImNtReal
Last Packager: ImNtReal
Votes: 2
Popularity: 0.012778
First Submitted: 2013-03-16 16:31
Last Updated: 2015-06-08 12:32

Latest Comments

CatherineH commented on 2014-06-23 23:16

I installed this package without any problems, but if I go into python2 and try to import quantities, it says:

[c2hollow@bluerocket python2-quantities]$ python2
Python 2.7.7 (default, Jun 3 2014, 01:46:20)
[GCC 4.9.0 20140521 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import quantities
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named quantities

mathieu.clabaut commented on 2013-05-18 16:10

Also the build should use python2 instead python.

mathieu.clabaut commented on 2013-05-18 16:07

$startdir is now deprecated. Please use $srcdir and $pkgdir instead.
For now the package does not build when $BUILDIR si set in /etc/makepkg.conf

gtmanfred commented on 2013-03-17 03:26

do not use $startdir EVERY

cd $srcdir/quantities-$pkgver

you don't need || return 1 at all, makepkg does it on its own now


anything that touches $pkgdir should be in the package() function
and again, don't use $startdir

package(){
cd $srcdir/quantities-$pkgver
python2 setup.py install --root="$pkgdir"
}