Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/libs/pythonmods
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv1054
Added Files:
bcfg2-py.info bcfg2-py.patch
Log Message:
bcfg2 1.3.1
from requests https://sourceforge.net/p/fink/package-requests/912/
--- NEW FILE: bcfg2-py.patch ---
--- bcfg2-1.3.1/setup.py 2013-03-21 10:40:04.000000000 -0400
+++ bcfg2-1.3.1/setup.py 2013-06-29 10:15:42.000000000 -0400
@@ -24,13 +24,12 @@
setup(name="Bcfg2",
version="1.3.1",
- description="Bcfg2 Server",
+ description="Bcfg2 Client",
author="Narayan Desai",
author_email="[email protected]",
# nosetests
test_suite='nose.collector',
- packages=["Bcfg2",
- "Bcfg2.Client",
+ packages=["Bcfg2.Client",
"Bcfg2.Client.Tools",
"Bcfg2.Client.Tools.POSIX",
"Bcfg2.Reporting",
@@ -38,44 +37,19 @@
"Bcfg2.Reporting.Transport",
"Bcfg2.Reporting.migrations",
"Bcfg2.Reporting.templatetags",
- 'Bcfg2.Server',
- "Bcfg2.Server.Admin",
- "Bcfg2.Server.FileMonitor",
- "Bcfg2.Server.Hostbase",
- "Bcfg2.Server.Hostbase.hostbase",
- "Bcfg2.Server.Lint",
- "Bcfg2.Server.Plugin",
- "Bcfg2.Server.Plugins",
- "Bcfg2.Server.Plugins.Packages",
- "Bcfg2.Server.Plugins.Cfg",
- "Bcfg2.Server.Reports",
- "Bcfg2.Server.Reports.reports",
- "Bcfg2.Server.Snapshots",
],
+ py_modules = ["Bcfg2.Options",
+ "Bcfg2.Proxy",
+ "Bcfg2.Logger",
+ ],
install_requires=inst_reqs,
tests_require=['mock', 'nose', 'sqlalchemy'],
package_dir={'': 'src/lib', },
package_data={'Bcfg2.Reporting': [ 'templates/*.html',
'templates/*/*.html',
'templates/*/*.inc']},
- scripts=glob('src/sbin/*'),
- data_files=[('share/bcfg2/schemas',
- glob('schemas/*.xsd')),
- ('share/bcfg2/xsl-transforms',
- glob('reports/xsl-transforms/*.xsl')),
- ('share/bcfg2/xsl-transforms/xsl-transform-includes',
-
glob('reports/xsl-transforms/xsl-transform-includes/*.xsl')),
- ('share/bcfg2', glob('reports/reports.wsgi')),
- ('share/man/man1', glob("man/bcfg2.1")),
+ scripts=glob('src/sbin/bcfg2'),
+ data_files=[('share/man/man1', glob("man/bcfg2.1")),
('share/man/man5', glob("man/*.5")),
- ('share/man/man8', glob("man/*.8")),
- ('share/bcfg2/Hostbase/templates',
-
glob('src/lib/Bcfg2/Server/Hostbase/hostbase/webtemplates/*.*')),
- ('share/bcfg2/Hostbase/templates/hostbase',
-
glob('src/lib/Bcfg2/Server/Hostbase/hostbase/webtemplates/hostbase/*')),
- ('share/bcfg2/Hostbase/repo',
- glob('src/lib/Bcfg2/Server/Hostbase/templates/*')),
- ('share/bcfg2/site_media',
- glob('reports/site_media/*')),
]
)
--- NEW FILE: bcfg2-py.info ---
Info2: <<
Package: bcfg2-py%type_pkg[python]
Version: 1.3.1
Revision: 1
### Feel free to update/modify and take over
Maintainer: Hanspeter Niederstrasser <[email protected]>
Type: python (2.7)
Depends: <<
libxml2-shlibs,
libxslt-shlibs,
lxml-py%type_pkg[python],
python%type_pkg[python]
<<
Source: ftp://ftp.mcs.anl.gov/pub/bcfg/bcfg2-%v.tar.gz
Source-MD5: f58d856e86ea0f517c073981504ffab4
Source-Checksum: SHA1(f8fadd1a91236db59ed22ec0b7b4afcfef29e655)
PatchFile: %{Ni}.patch
PatchFile-MD5: 9134f86d9c9e7f5517f9433f50c2f639
PatchScript: <<
%{default_script}
### Let's play it safe and make sure conf file is searched for in %p
perl -pi -e 's|/etc/bcfg2.conf|%p$&-py%type_pkg[python]|g'
src/lib/Bcfg2/Options.py src/sbin/bcfg2-build-reports src/lib/Bcfg2/settings.py
### fix program location
perl -pi -e 's|/bin/true|/usr$&|g'
testsuite/Testsrc/Testlib/TestClient/TestTools/Test_init.py
### fix django strictness
### fixed upstream commit dc5ec0f8899f2a15aea34468899b7b9237874828
perl -pi -e "s|/site_media\'|/site_media/\'|g" src/lib/Bcfg2/settings.py
<<
CompileScript: <<
%p/bin/python%type_raw[python] setup.py build
<<
InfoTest: <<
TestDepends: <<
cheetah-py%type_pkg[python],
django-py%type_pkg[python],
genshi-py%type_pkg[python],
mock-py%type_pkg[python] (>= 1.0.1),
sqlalchemy-py%type_pkg[python],
yaml-py%type_pkg[python]
<<
# pylint tests fail
TestConflicts: pylint-py%type_pkg[python]
TestScript: <<
%p/bin/python%type_raw[python] setup.py test || exit 2
<<
<<
InstallScript: <<
%p/bin/python%type_raw[python] setup.py install --root %d --prefix %p
install -m 755 -d %i/etc
install -m 644 examples/{bcfg2,bcfg2-lint}.conf %i/etc
mv %i/bin/bcfg2 %i/bin/bcfg2-py%type_pkg[python]
mv %i/share/man/man1/bcfg2.1
%i/share/man/man1/bcfg2-py%type_pkg[python].1
mv %i/share/man/man5/bcfg2.conf.5
%i/share/man/man5/bcfg2.conf-py%type_pkg[python].5
mv %i/share/man/man5/bcfg2-lint.conf.5
%i/share/man/man5/bcfg2-lint.conf-py%type_pkg[python].5
mv %i/etc/bcfg2.conf %i/etc/bcfg2.conf-py%type_pkg[python]
mv %i/etc/bcfg2-lint.conf %i/etc/bcfg2-lint.conf-py%type_pkg[python]
<<
DocFiles: COPYRIGHT LICENSE README
ConfFiles: <<
%p/etc/bcfg2.conf-py%type_pkg[python]
%p/etc/bcfg2-lint.conf-py%type_pkg[python]
<<
PostInstScript: <<
update-alternatives --install %p/bin/bcfg2 bcfg2
%p/bin/bcfg2-py%type_pkg[python] %type_pkg[python] \
--slave %p/share/man/man1/bcfg2.1 bcfg2.1
%p/share/man/man1/bcfg2-py%type_pkg[python].1 \
--slave %p/share/man/man5/bcfg2.conf.5 bcfg2.conf.5
%p/share/man/man5/bcfg2.conf-py%type_pkg[python].5 \
--slave %p/share/man/man5/bcfg2-lint.conf.5 bcfg2-lint.conf.5
%p/share/man/man5/bcfg2-lint.conf-py%type_pkg[python].5 \
--slave %p/etc/bcfg2.conf bcfg2.conf
%p/etc/bcfg2.conf-py%type_pkg[python] \
--slave %p/etc/bcfg2-lint.conf bcfg2-lint.conf
%p/etc/bcfg2-lint.conf-py%type_pkg[python]
<<
PreRmScript: <<
if [ $1 != "upgrade" ]; then
update-alternatives --remove bcfg2
%p/bin/bcfg2-py%type_pkg[python]
fi
<<
Description: Configuration management system
DescDetail: <<
Bcfg2 helps system administrators produce a consistent, reproducible,
and verifiable description of their environment, and offers visualization
and reporting tools to aid in day-to-day administrative tasks. It is
the fifth generation of configuration management tools developed in the
Mathematics and Computer Science Division of Argonne National Laboratory.
<<
License: BSD
Homepage: http://www.bcfg2.org/
<<
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs