Package Details: python2-empy 3.3.4-1

Git Clone URL: https://aur.archlinux.org/python2-empy.git (read-only, click to copy)
Package Base: python2-empy
Description: A powerful and robust templating system for Python.
Upstream URL: http://www.alcyone.com/software/empy
Licenses: LGPL
Submitter: hauptmech
Maintainer: ljmf00
Last Packager: ljmf00
Votes: 20
Popularity: 0.000000
First Submitted: 2012-04-06 14:59
Last Updated: 2019-07-02 19:58

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

bchretien commented on 2014-07-24 14:07

@ccryp7: I double-checked the install, gave execute permissions to the script in /usr/lib/... and made sure that Python 2 is called when the script is used. If you still have problems, please let me know.

bchretien commented on 2014-07-24 13:35

@ccryp7: for instance, while building ros-indigo-rosbash:

-- Found PythonInterp: /usr/bin/python2 (found version "2.7.8")
-- Using PYTHON_EXECUTABLE: /usr/bin/python2
-- Using default Python package layout
-- Found PY_em: /usr/lib/python2.7/site-packages/em.pyc
-- Using empy: /usr/lib/python2.7/site-packages/em.pyc

Have you actually had a problem with empy and Hydro/Indigo packages?

bchretien commented on 2014-07-24 13:26

@ccryp7: I don't think that this is a requirement. In /opt/ros/{hydro,indigo}/shared/catkin/cmake/empy.cmake, if the executable is not found, then it relies on the Python module.

Also, this would create a conflict between Python 2/3 versions of this package if both start providing /usr/bin/empy.

ccryp7 commented on 2014-07-22 08:39

ROS makes use of this package, but requires the em.py binary to be installed at /usr/bin/empy. Here's a patch to handle that:

--- ../aur-python2-empy/PKGBUILD 2014-02-12 15:00:14.000000000 +0100
+++ PKGBUILD 2014-07-22 10:09:49.703716772 +0200
@@ -21,4 +21,6 @@
package() {
cd ${srcdir}/empy-$pkgver
python2 setup.py install -O2 --skip-build --prefix=/usr --root=${pkgdir}
+ mkdir -p ${pkgdir}/usr/bin
+ install em.py ${pkgdir}/usr/bin/empy
}

bchretien commented on 2014-01-19 12:18

@hauptmech: thanks, I adopted it, and split install between build() and package().

hauptmech commented on 2014-01-19 11:09

Updated as requested and disowning since I don't use this stuff anymore...

bchretien commented on 2014-01-18 22:32

Hi, thanks for your responsiveness :-) I think the install command should be:

python2 setup.py install --prefix=/usr --root=$pkgdir

hauptmech commented on 2014-01-18 17:17

Cleaned up dependency error and warning.

bchretien commented on 2014-01-18 15:26

+1 on r00tine's comment. This should use python2 as a dependency.

silent_crash commented on 2013-09-25 18:51

building and installing the package using yaourt yielded this warning:
WARNING: Using a PKGBUILD without a package() function is deprecated

This doesn't seem to break anything, though.