summaryrefslogtreecommitdiff
path: root/python-freeipa
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-12-18 15:47:06 -0500
committerB. Stack <bgstack15@gmail.com>2022-12-18 15:48:12 -0500
commit98840b1e931c83051d0b21f3b81af51ff21948d1 (patch)
tree7c28062483dec7717c83139b330e6526a5bc4450 /python-freeipa
parentMerge branch 'scite-bump' into 'master' (diff)
downloadstackrpms-98840b1e931c83051d0b21f3b81af51ff21948d1.tar.gz
stackrpms-98840b1e931c83051d0b21f3b81af51ff21948d1.tar.bz2
stackrpms-98840b1e931c83051d0b21f3b81af51ff21948d1.zip
add python-freeipa
Diffstat (limited to 'python-freeipa')
-rw-r--r--python-freeipa/README.md31
-rw-r--r--python-freeipa/debian/_service28
-rw-r--r--python-freeipa/debian/changelog5
-rw-r--r--python-freeipa/debian/control23
-rw-r--r--python-freeipa/debian/copyright21
-rw-r--r--python-freeipa/debian/gbp.conf2
-rw-r--r--python-freeipa/debian/patches/series0
-rw-r--r--python-freeipa/debian/python-freeipa.dsc16
-rwxr-xr-xpython-freeipa/debian/rules16
-rw-r--r--python-freeipa/debian/source/format1
-rw-r--r--python-freeipa/debian/upstream/metadata5
-rw-r--r--python-freeipa/debian/watch5
12 files changed, 153 insertions, 0 deletions
diff --git a/python-freeipa/README.md b/python-freeipa/README.md
new file mode 100644
index 0000000..61f338b
--- /dev/null
+++ b/python-freeipa/README.md
@@ -0,0 +1,31 @@
+# Readme for python-freeipa
+
+## python-freeipa upstream
+
+1. [Upstream](https://github.com/waldur/python-freeipa)
+2. [Docs](https://python-freeipa.readthedocs.io/en/latest/)
+
+## Reason for being in stackrpms
+Debian does not package python-freeipa, which is a separate client software for FreeIPA and is not part of the official components of a freeipa client server installation. I wanted python-freeipa mostly for [freeipa-cert-alert](https://bgstack15.ddns.net/cgit/freeipa-cert-alert/).
+
+## Alternatives
+* ipa commands that are part of native client server installation
+
+### Alternative packages
+* https://src.fedoraproject.org/rpms/python-freeipa
+
+## Dependencies
+Distro | python3-freeipa version
+-------------- | -----------------------
+Devuan Ceres | 1.0.7
+
+## Additional info
+
+### Credits
+[1][https://codesearch.debian.net/] Debian Code Search
+
+### References
+[1]: <https://packages.debian.org/sid/python3-yaml> PyYAML packaging in Debian
+
+## Differences from upstream
+None
diff --git a/python-freeipa/debian/_service b/python-freeipa/debian/_service
new file mode 100644
index 0000000..e294778
--- /dev/null
+++ b/python-freeipa/debian/_service
@@ -0,0 +1,28 @@
+<services>
+ <service name="tar_scm">
+ <param name="scm">git</param>
+ <param name="url">https://bgstack15.ddns.net/cgit/stackrpms.git</param>
+ <param name="subdir">python-freeipa/debian</param>
+ <param name="filename">debian</param>
+ <param name="revision">python-freeipa-bump</param>
+ <param name="version">_none_</param>
+ </service>
+ <service name="recompress">
+ <param name="file">*.tar</param>
+ <param name="compression">xz</param>
+ </service>
+ <service name="tar_scm">
+ <param name="scm">git</param>
+ <param name="url">https://github.com/waldur/python-freeipa.git</param>
+ <param name="revision">v1.0.7</param>
+ <param name="version">_none_</param>
+ </service>
+ <service name="recompress">
+ <param name="file">*.tar</param>
+ <param name="compression">gz</param>
+ </service>
+ <service name="extract_file">
+ <param name="archive">*.tar.xz</param>
+ <param name="files">*/*.dsc</param>
+ </service>
+</services>
diff --git a/python-freeipa/debian/changelog b/python-freeipa/debian/changelog
new file mode 100644
index 0000000..7ee373c
--- /dev/null
+++ b/python-freeipa/debian/changelog
@@ -0,0 +1,5 @@
+python-freeipa (1.0.7-1) obs; urgency=low
+
+ * Initial release. (Fixes packages-want#26)
+
+ -- B. Stack <bgstack15@gmail.com> Sun, 18 Dec 2022 11:58:15 -0500
diff --git a/python-freeipa/debian/control b/python-freeipa/debian/control
new file mode 100644
index 0000000..068bf5d
--- /dev/null
+++ b/python-freeipa/debian/control
@@ -0,0 +1,23 @@
+Source: python-freeipa
+Section: python
+Priority: optional
+Maintainer: B. Stack <bgstack15@gmail.com>
+Build-Depends: debhelper-compat (= 13),
+# pybuild-plugin-pyproject,
+ dh-python,
+ python3-all-dev,
+ python3-setuptools,
+# cython3
+Rules-Requires-Root: no
+Vcs-Git: https://bgstack15.ddns.net/cgit/python-freeipa/
+Vcs-Browser: https://bgstack15.ddns.net/cgit/python-freeipa/
+Standards-Version: 4.6.1
+Homepage: https://github.com/waldur/python-freeipa/
+
+Package: python3-freeipa
+Architecture: any
+Multi-Arch: allowed
+Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Description: lightweight FreeIPA client
+ Python3-freeipa is a python client for FreeIPA. This is not part of the main
+ FreeIPA package set; it not part of an IPA client server installation.
diff --git a/python-freeipa/debian/copyright b/python-freeipa/debian/copyright
new file mode 100644
index 0000000..a78e81f
--- /dev/null
+++ b/python-freeipa/debian/copyright
@@ -0,0 +1,21 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-name: python-freeipa
+Source: https://github.com/waldur/python-freeipa
+
+Files: *
+Copyright: 2017 OpenNode LLC
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software
+ and associated documentation files (the "Software"), to deal in the Software without
+ restriction, including without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in all copies or
+ substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
+ BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/python-freeipa/debian/gbp.conf b/python-freeipa/debian/gbp.conf
new file mode 100644
index 0000000..3879982
--- /dev/null
+++ b/python-freeipa/debian/gbp.conf
@@ -0,0 +1,2 @@
+[DEFAULT]
+debian-branch=debian/master
diff --git a/python-freeipa/debian/patches/series b/python-freeipa/debian/patches/series
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/python-freeipa/debian/patches/series
diff --git a/python-freeipa/debian/python-freeipa.dsc b/python-freeipa/debian/python-freeipa.dsc
new file mode 100644
index 0000000..da73f6e
--- /dev/null
+++ b/python-freeipa/debian/python-freeipa.dsc
@@ -0,0 +1,16 @@
+Format: 3.0 (quilt)
+Source: python-freeipa
+Binary: python3-freeipa
+Architecture: any
+Version: 1.0.7-1
+Maintainer: B. Stack <bgstack15@gmail.com>
+Homepage: https://github.com/waldur/python-freeipa/
+Standards-Version: 4.6.1
+Vcs-Browser: https://bgstack15.ddns.net/cgit/python-freeipa/
+Vcs-Git: https://bgstack15.ddns.net/cgit/python-freeipa/
+Build-Depends: debhelper-compat (= 13), dh-python, python3-all-dev, python3-setuptools
+Package-List:
+ python3-freeipa deb python optional arch=any
+Files:
+ 00000000000000000000000000000000 1 python-freeipa.orig.tar.gz
+ 00000000000000000000000000000000 1 python-freeipa.debian.tar.xz
diff --git a/python-freeipa/debian/rules b/python-freeipa/debian/rules
new file mode 100755
index 0000000..81201ef
--- /dev/null
+++ b/python-freeipa/debian/rules
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+export PYBUILD_NAME=freeipa
+export PYBUILD_DISABLE=test
+
+build3vers := $(shell py3versions -sv)
+
+%:
+ dh $@ --with python3 --buildsystem pybuild
+
+override_dh_auto_configure:
+ dh_auto_configure
+
+override_dh_auto_clean:
+ -rm -rf src/python_freeipa.egg-info/
+ dh_auto_clean
diff --git a/python-freeipa/debian/source/format b/python-freeipa/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/python-freeipa/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/python-freeipa/debian/upstream/metadata b/python-freeipa/debian/upstream/metadata
new file mode 100644
index 0000000..dcb366b
--- /dev/null
+++ b/python-freeipa/debian/upstream/metadata
@@ -0,0 +1,5 @@
+Name: python-freeipa
+Bug-Database: https://github.com/waldur/python-freeipa/issues
+Bug-Submit: https://github.com/waldur/python-freeipa/issues/new
+Repository: https://github.com/waldur/python-freeipa.git
+Repository-Browse: https://github.com/waldur/python-freeipa
diff --git a/python-freeipa/debian/watch b/python-freeipa/debian/watch
new file mode 100644
index 0000000..802a9d2
--- /dev/null
+++ b/python-freeipa/debian/watch
@@ -0,0 +1,5 @@
+# Reference: https://codesearch.debian.net/search?q=github%5C.com%5C%2F.*%5C%28%5C%3F%3Azip%5C%7Ctgz&literal=0
+# pyaxmlparser package
+version=4
+opts=dversionmangle=auto \
+https://github.com/waldur/python-freeipa/tags .*/v(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
bgstack15