Subversion Repositories pub

Compare Revisions

No changes between revisions

Ignore whitespace Rev 610 → Rev 611

/relevation/trunk/devtools/sample.datav1.revelation
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/relevation/trunk/devtools/sample.datav2.revelation
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/relevation/trunk/devtools/relver.bash
0,0 → 1,25
#!/bin/bash
# $Id$
# Quick and dirty script to retrieve the script version
# (which is otherwise composed at runtime)
# This scripts avoid having the same runtime requirements for package
# creation
 
r="$(dirname "$0")/../src/relevation.py"
 
rel=$(grep '^RELEASE' $r | tail -1)
verinfo=$(grep '^__version_info__' $r | head -1)
verinfo_pre=$(grep '__version_info__ +=' $r | head -1 | sed 's/^[[:space:]]*//')
ver=$(grep '^__version__' $r | head -1)
 
python <<EOF
$rel
$verinfo
release=''
if not RELEASE:
$verinfo_pre
release=' [DEBUG]'
$ver
print "%s%s" % ( __version__, release )
EOF
 
Property changes:
Added: svn:executable
+*
\ No newline at end of property
Added: svn:keywords
+Rev Id Date
\ No newline at end of property
/relevation/trunk/devtools/setup.py.in
0,0 → 1,45
#!/usr/bin/env python
# $Id$
# This script isn't used directly to generate the distributed files
# since some files are generated from the source and the zip and tar.gz
# differ.
# GNU Make is used instead.
 
from distutils.core import setup
import distutils.command.install_scripts
import shutil
 
class my_install(distutils.command.install_scripts.install_scripts):
''' Rename scripts that use the .py extension after installation.
NOTE: breaks bdist_rpm
Reference: http://stackoverflow.com/questions/4359231/rename-script-file-in-distutils
'''
def run(self):
distutils.command.install_scripts.install_scripts.run(self)
for script in self.get_outputs():
if script.endswith(".py"):
shutil.move(script, script[:-3])
 
setup(name='relevation',
version='@VERSION@',
author='Toni Corvera',
author_email='outlyer@gmail.com',
url='http://p.outlyer.net/relevation',
description='Command-line interface to query Revelation files',
long_description=
'''This is a command-line tool capable of retrieving passwords from a Revelation password file.
 
Please note files can only be searched, not edited with this tool.''',
license='BSD',
package_dir={'': 'src'},
packages=['relevation'],
scripts=['src/relevation.py'],
cmdclass = {"install_scripts": my_install}, # hook
data_files=[
('share/man/man1', ['relevation.1']),
#('share/doc/relevation', ['CHANGELOG']),
('share/doc/relevation/extra', ['src/gui.py','devtools/checkpw.py','devtools/genpw.py']),
]
)
 
# vim:set ts=4 et ai: #
Property changes:
Added: svn:keywords
+Rev Id Date
\ No newline at end of property
/relevation/trunk/devtools/README
0,0 → 1,2
The provided sample files use "1234" as password