From eddd0d70f5ae0cd55ef67cae221f48d930fc5d99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Mon, 15 Jul 2024 13:00:42 +0200 Subject: [PATCH] Sync from SUSE:ALP:Source:Standard:1.0 saltbundlepy-venvjail revision 6c845324fa9d1f33b79d9f276b00dc64 --- .gitattributes | 23 ++ _service | 14 ++ _servicedata | 4 + ...venvjail-0.2.git.1654012835.e8c1c1e.tar.gz | 3 + saltbundlepy-venvjail.changes | 216 ++++++++++++++++++ saltbundlepy-venvjail.spec | 55 +++++ 6 files changed, 315 insertions(+) create mode 100644 .gitattributes create mode 100644 _service create mode 100644 _servicedata create mode 100644 saltbundlepy-venvjail-0.2.git.1654012835.e8c1c1e.tar.gz create mode 100644 saltbundlepy-venvjail.changes create mode 100644 saltbundlepy-venvjail.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /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/_service b/_service new file mode 100644 index 0000000..9a20ad5 --- /dev/null +++ b/_service @@ -0,0 +1,14 @@ + + + git + https://github.com/openSUSE/venvjail.git + saltbundlepy-venvjail + 0.2.git + enable + + + *git*.tar + gz + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..7855b7d --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/openSUSE/venvjail.git + e8c1c1ed30cbbb65ce5d0dde4dcfbe3e82dc42c9 \ No newline at end of file diff --git a/saltbundlepy-venvjail-0.2.git.1654012835.e8c1c1e.tar.gz b/saltbundlepy-venvjail-0.2.git.1654012835.e8c1c1e.tar.gz new file mode 100644 index 0000000..3ad3330 --- /dev/null +++ b/saltbundlepy-venvjail-0.2.git.1654012835.e8c1c1e.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4eb42c6ec7fe060e03b0ef6eb3ae743a504e1418db64c5f2bddaf49512b8381d +size 21869 diff --git a/saltbundlepy-venvjail.changes b/saltbundlepy-venvjail.changes new file mode 100644 index 0000000..0117864 --- /dev/null +++ b/saltbundlepy-venvjail.changes @@ -0,0 +1,216 @@ +------------------------------------------------------------------- +Tue May 31 21:13:18 UTC 2022 - victor.zhestkov@suse.com + +- Update to version 0.2.git.1654012835.e8c1c1e: + * Automatically detect compression method for data.tar.* + +------------------------------------------------------------------- +Mon Apr 4 13:12:45 UTC 2022 - Victor Zhestkov + +- Strictly require Python 3.10 with saltbundlepy requrement + +------------------------------------------------------------------- +Fri Oct 22 11:33:04 UTC 2021 - victor.zhestkov@suse.com + +- Update to version 0.2.git.1634900618.b13fb73: + * Fix interpolation string + +------------------------------------------------------------------- +Wed Oct 13 08:20:45 UTC 2021 - aplanas@suse.com + +- Update to version 0.2.git.1634113089.e7a19d0: + * Propagate python_version until the venv creation + +------------------------------------------------------------------- +Wed Sep 29 10:09:05 UTC 2021 - victor.zhestkov@suse.com + +- Update to version 0.2.git.1632909707.b0ecc87: + * Support relative links inside the venv + * Fix some docstrings in the code + +------------------------------------------------------------------- +Thu Jul 29 15:09:15 UTC 2021 - aplanas@suse.com + +- Update to version 0.2.git.1627571299.60f8f04: + * Improve conversion of absolute links + +------------------------------------------------------------------- +Fri Mar 12 12:12:04 UTC 2021 - aplanas@suse.com + +- Update to version 0.2.git.1615551104.fc6d75d: + * Remove broken links too + +------------------------------------------------------------------- +Fri Mar 12 10:38:58 UTC 2021 - aplanas@suse.com + +- Update to version 0.2.git.1615545477.1331504: + * Use better parameters options + +------------------------------------------------------------------- +Thu Mar 11 17:34:00 UTC 2021 - aplanas@suse.com + +- Update to version 0.2.git.1615483928.3769673: + * Directly convert entries to list + +------------------------------------------------------------------- +Wed Mar 10 08:27:23 UTC 2021 - aplanas@suse.com + +- Update to version 0.2.git.1615364776.43c9b5c: + * Fix the shim loader + +------------------------------------------------------------------- +Tue Mar 09 16:14:44 UTC 2021 - aplanas@suse.com + +- Update to version 0.2.git.1615306460.670dc05: + * Create the venv always with copies + * Keep directories symlinks during untar + +------------------------------------------------------------------- +Fri Mar 05 12:22:26 UTC 2021 - aplanas@suse.com + +- Update to version 0.2.git.1614946908.d6816a9: + * Fix control.tar.xz typo + * Add type for include and exclude parameters + +------------------------------------------------------------------- +Tue Feb 23 11:11:27 UTC 2021 - aplanas@suse.com + +- Update to version 0.2.git.1614078645.e99d5f9: + * Avoid processing service files two times + +------------------------------------------------------------------- +Fri Feb 12 16:16:46 UTC 2021 - aplanas@suse.com + +- Update to version 0.2.git.1613146587.dd2210a: + * Add --remove to prune the bundle + +------------------------------------------------------------------- +Thu Feb 11 15:48:43 UTC 2021 - aplanas@suse.com + +- Update to version 0.2.git.1613058496.9edbd37: + * Make _fix_broken_links skip correct links + * Adjust fix_loader to not replace too much + * Improve _fix_broken_links for pytz + * Support multiple versions of cpio + * Autodetect the Python version + +------------------------------------------------------------------- +Tue Jan 26 17:05:41 UTC 2021 - aplanas@suse.com + +- Update to version 0.2.git.1611680704.a7ca7d6: + * Remove --extract-over-symlinks + +------------------------------------------------------------------- +Tue Jan 26 16:53:18 UTC 2021 - aplanas@suse.com + +- Update to version 0.2.git.1611679962.e10488c: + * Set to Python 3.6 + +------------------------------------------------------------------- +Tue Dec 22 13:33:47 UTC 2020 - aplanas@suse.com + +- Update to version 0.2.git.1608643996.5406441: + * Add loader entry point in venv + +------------------------------------------------------------------- +Wed Dec 16 19:25:36 UTC 2020 - aplanas@suse.com + +- Update to version 0.2.git.1608146680.2c58b19: + * Support Debian packages and drop OpenStack + +------------------------------------------------------------------- +Mon Dec 14 14:05:12 UTC 2020 - aplanas@suse.com + +- Update to version 0.2.git.1607954056.7502c21: + * Use 'python' from the venv + * Remove pip from the venv + * Drop Python 2.7 from the venv + * Update copyright information + * User 'f' string interpolation + * Apply Black for style + * Set [] as default value for --no-relocate-shebang-list + * Exclude some files from relocation (SCRD-8594) + * Overwrite /usr/share/keystone permissions (bsc#1083826) + * Fix permissions for documentation directories + +------------------------------------------------------------------- +Sat Apr 06 09:44:48 UTC 2019 - vuntz@suse.com + +- Update to version 0.1.git.1554542842.598566f: + * Set [] as default value for --no-relocate-shebang-list + +------------------------------------------------------------------- +Thu Apr 04 23:39:17 UTC 2019 - jzerebecki@suse.com + +- Update to version 0.1.git.1554439163.44e01cb: + * Exclude some files from relocation (SCRD-8594) + +------------------------------------------------------------------- +Wed Mar 07 12:29:10 UTC 2018 - opensuse-packaging@opensuse.org + +- Update to version 0.1.git.1520425704.6c66600: + * Overwrite /usr/share/keystone permissions (bsc#1083826) + +------------------------------------------------------------------- +Thu Feb 15 16:52:21 UTC 2018 - opensuse-packaging@opensuse.org + +- Update to version 0.1.git.1518713510.49b8932: + * Fix permissions for documentation directories + +------------------------------------------------------------------- +Thu Feb 15 15:50:36 UTC 2018 - aplanas@suse.com + +- Update the Source field + +------------------------------------------------------------------- +Wed Feb 14 19:02:15 UTC 2018 - aplanas@suse.com + +- Update the _service file to point to the new home + +------------------------------------------------------------------- +Wed Feb 14 18:39:56 UTC 2018 - opensuse-packaging@opensuse.org + +- Update to version 0.1.git.1518633558.fca38dc: + * Fix absolute soft-links (bsc#1081005) + +------------------------------------------------------------------- +Mon Feb 12 17:31:28 UTC 2018 - opensuse-packaging@opensuse.org + +- Update to version 0.1.git.1518456668.1b2a92e: + * Rename META_INF to META-INF + +------------------------------------------------------------------- +Fri Feb 02 09:02:12 UTC 2018 - opensuse-packaging@opensuse.org + +- Update to version 0.1.git.1517562042.eb791f3: + * Add usr and usr/share dir permissions + * Drop unused reference + +------------------------------------------------------------------- +Tue Jan 23 12:53:25 UTC 2018 - opensuse-packaging@opensuse.org + +- Update to version 0.1.git.1516711981.98e9200: + * Fix filesystem permissions + +------------------------------------------------------------------- +Tue Jan 23 11:30:52 UTC 2018 - opensuse-packaging@opensuse.org + +- Update to version 0.1.git.1516707019.8eff141: + * Generate a Python 2 venv + * Add ardana-version parameter + +------------------------------------------------------------------- +Fri Jan 19 10:25:43 UTC 2018 - opensuse-packaging@opensuse.org + +- Update to version 0.1.git.1516357464.079f493: + * Exclude rpmlint packages + +------------------------------------------------------------------- +Tue Dec 12 09:22:13 UTC 2017 - aplanas@suse.com + +- Integrate L3/Maintenance track system + +------------------------------------------------------------------- +Thu Nov 9 14:57:18 UTC 2017 - aplanas@suse.com + +- Add initial package diff --git a/saltbundlepy-venvjail.spec b/saltbundlepy-venvjail.spec new file mode 100644 index 0000000..d03e4f4 --- /dev/null +++ b/saltbundlepy-venvjail.spec @@ -0,0 +1,55 @@ +# +# spec file for package saltbundlepy-venvjail +# +# Copyright (c) 2021 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: saltbundlepy-venvjail +Version: 0.2.git.1654012835.e8c1c1e +Release: 0 +Summary: Python virtualenv for OBS +License: GPL-3.0-only +Group: Development/Libraries/Python +URL: https://github.com/SUSE-Cloud/venvjail +Source: %{name}-%{version}.tar.gz +BuildRequires: saltbundlepy >= 3.10 +BuildRequires: saltbundlepy-rpm-macros +Requires: saltbundlepy >= 3.10 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch + +%description +Create Python virtualenvs in OBS. + +This tool helps with the creation and management of Python virtual +environments in OBS. Is initially designed to deal with the creation +of venvs for OpenStack services, but can be generalized for other +cases. + +%prep +%setup -q + +%build + +%install +mkdir -p %{buildroot}%{_bindir} +sed -i '1s|^#!.*$|#!%{__saltbundlepy}|' venvjail.py +install -m 0755 venvjail.py %{buildroot}%{_bindir}/venvjail + +%files +%defattr(-,root,root) +%{_bindir}/venvjail + +%changelog