From 33441fc9bb89a505bc73f08b53a5facdd822f17f Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Sun, 21 Oct 2007 12:54:05 +0200 Subject: [PATCH] Update version numbers for release 0.3.0 --- BENCHMARK | 20 -------------------- MANIFEST.in | 3 +-- Makefile | 13 +++++-------- NEWS | 8 ++++++++ setup.py | 8 +++----- 5 files changed, 17 insertions(+), 35 deletions(-) delete mode 100644 BENCHMARK create mode 100644 NEWS diff --git a/BENCHMARK b/BENCHMARK deleted file mode 100644 index 3c9cea1..0000000 --- a/BENCHMARK +++ /dev/null @@ -1,20 +0,0 @@ -On my Duron 1000, Linux 2.4, creating 1.000.000 ACLs and discarding them: - -empty ACL: 4.48user 0.03system 0:04.50elapsed 100%CPU -from text: 13.87user 0.09system 0:13.97elapsed 99%CPU -XFS, file: 14.17user 14.95system 0:29.13elapsed 99%CPU - -creating a list from the entries of an ACL: -no entries: 3.86user 0.01system 0:03.86elapsed 100%CPU -6 entries: 16.39user 0.00system 0:16.38elapsed 100%CPU - -As you can see, creating from file is the longest (as expected). More than -half time when creating from file was in kernel mode. - - -In freebsd 4.6, UNDER VMWARE!!!!, same machine: -empty ACL: 3.409u 0.432s 0:03.85 99.4% 516+15695k 0+0io 0pf+0w -from text: 10.672u 1.016s 0:11.71 99.7% 508+24230k 0+0io 0pf+0w - -Interesting results, it seems from text is faster here - but here -the library doens't support editing, so maybe that's why. diff --git a/MANIFEST.in b/MANIFEST.in index fc9d702..e8ac6e0 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,11 +1,10 @@ include README include PLATFORMS include IMPLEMENTATION -include BENCHMARK include acl.c include os_*.c include MANIFEST include posix1e.html include posix1e.txt include setup.cfg -include ChangeLog +include NEWS diff --git a/Makefile b/Makefile index 25eb3ca..9c1aa46 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,12 @@ .PHONY: doc log doc: posix1e.txt posix1e.html -log: - rm -f ChangeLog - rcs2log -u 'iusty Iustin Pop iusty@k1024.org' > ChangeLog -build/lib.linux-i686-2.2/posix1e.so: acl.c +build/lib.linux-x86_64-2.4/posix1e.so: acl.c ./setup.py build -posix1e.txt: build/lib.linux-i686-2.2/posix1e.so - PYTHONPATH=build/lib.linux-i686-2.2 pydoc posix1e > posix1e.txt +posix1e.txt: build/lib.linux-x86_64-2.4/posix1e.so + PYTHONPATH=build/lib.linux-x86_64-2.4 pydoc posix1e > posix1e.txt -posix1e.html: build/lib.linux-i686-2.2/posix1e.so - PYTHONPATH=build/lib.linux-i686-2.2 pydoc -w posix1e +posix1e.html: build/lib.linux-x86_64-2.4/posix1e.so + PYTHONPATH=build/lib.linux-x86_64-2.4 pydoc -w posix1e diff --git a/NEWS b/NEWS new file mode 100644 index 0000000..41c538c --- /dev/null +++ b/NEWS @@ -0,0 +1,8 @@ +version 0.3 +----------- + + Under Linux, implement more functions from libacl: + - add ACL(mode=...), implementing acl_from_mode + - add ACL().to_any_text, implementing acl_to_any_text + - add ACL comparison, using acl_cmp + - add ACL().check, which is a more descriptive function than validate diff --git a/setup.py b/setup.py index b236e29..b2e0583 100755 --- a/setup.py +++ b/setup.py @@ -26,7 +26,9 @@ else: long_desc = """This is a C extension module for Python which implements POSIX ACLs manipulation. It is a wrapper on top of the systems's acl C library - see acl(5).""" -version = "0.2.2" + +version = "0.3.0" + setup(name="pylibacl", version=version, description="POSIX.1e ACLs for python", @@ -39,8 +41,4 @@ setup(name="pylibacl", libraries=libs, define_macros=macros, )], - data_files=[("/usr/share/doc/pylibacl-%s" % version, - ["README","IMPLEMENTATION", "PLATFORMS", - "BENCHMARK", - "posix1e.html", "posix1e.txt"])], ) -- 2.39.2