commit 5be295d84c05f2a633e41f0c8d6cbfa72d4348027621f786d28e4509389b9770 Author: ZYpp Developers Date: Mon Jul 4 14:26:31 2011 +0000 Update to last sucessful build OBS-URL: https://build.opensuse.org/package/show/zypp:Head/zypp-plugin?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/zypp-plugin.changes b/zypp-plugin.changes new file mode 100644 index 0000000..8389fcd --- /dev/null +++ b/zypp-plugin.changes @@ -0,0 +1,8 @@ +------------------------------------------------------------------- +Mon Jul 4 15:16:39 CEST 2011 - ma@suse.de + +- Provide zypp-plugin-python as stand alone package so + that it can be used in other zypp plugins like snapper. + (formerly a subpackage of zypp-plugin-spacewalk) +- version 0.3 + diff --git a/zypp-plugin.spec b/zypp-plugin.spec new file mode 100644 index 0000000..8fbd2a9 --- /dev/null +++ b/zypp-plugin.spec @@ -0,0 +1,35 @@ +# +Name: zypp-plugin-python +Version: 0.3 +Release: 0 +Group: System/Packages +License: GPLv2 +Url: https://gitorious.org/opensuse/zypp-plugin +Summary: Helper that makes writing ZYpp plugins in python easier +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Source0: zypp-plugin.tar.bz2 + +# Actually libzypp(plugin) should be required. Unfortunately the corresponing +# provides was introduced to late for SUSE Manager/SLE-11-SP1. We do not want to +# enforce libzypp update to satisfy this, so the Requires should saty disabled, +# until libzypp on SUSE Manager/SLE-11-SP1 was updated and provides libzypp(plugin). +#Requires: libzypp(plugin) +BuildRequires: python-devel +Requires: python + +%description +This API allows writing ZYpp plugins by just subclassing from a python class +and implementing the commands you want to respond to as python methods. + +%prep +%setup -q -n zypp-plugin + +%build + +%install +%{__mkdir_p} %{buildroot}%{py_sitedir} +%{__install} python/zypp_plugin.py %{buildroot}%{py_sitedir}/zypp_plugin.py + +%files +%defattr(-,root,root) +%{py_sitedir}/zypp_plugin.py diff --git a/zypp-plugin.tar.bz2 b/zypp-plugin.tar.bz2 new file mode 100644 index 0000000..9e3ebe5 --- /dev/null +++ b/zypp-plugin.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5f685537e651def1439040163c08c532372c014b7b73cc438058edfa6c1c398e +size 3483