On May 15, 2015 2:13:00 AM EDT, Robert Munteanu <robert.munteanu@gmail.com> wrote:
On May 15, 2015 12:17 AM, "Greg Freemyer" <greg.freemyer@gmail.com> wrote:
All,
I think I'm getting an error with setup.py because $LastChangeRevision$ isn't defined?
== details == I'm trying to update python-pefile.
With the lastest released tarball it fails when I run "python
setup.py build".
I assume it is a local openSUSE error?
The setup.py file has: download_url = 'http://pefile.googlecode.com/files/pefile-%s.tar.gz'
%
pefile.__version__,
in pefile.py: __revision__ = "$LastChangedRevision$" __version__ = '1.2.10-%d' % int( __revision__[21:-2] )
But I have no idea what $LastChangeRevision$ is or where it is defined.
This value is automatically expanded on checkout by CVS (and I think SVN can be configured to do so as well) to the revision this file was last changed in.
For SVN this will generate a revision number like 1234. For CVS I am not sure, have not used it in ages.
Robert
Thanks, I'll have to do a patch to hard code it. At least I know what value it should be. I wish Google upstream projects were better behaved. In my experience they pay no attention to issues they cause packagers. Greg -- Sent from my Android device with K-9 Mail. Please excuse my brevity. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org