Projects
home:Eustace:branches:Eulaceura:Factory
python-dotenv
_service:obs_scm:python-dotenv.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:python-dotenv.spec of Package python-dotenv
%global _empty_manifest_terminate_build 0 Name: python-dotenv Version: 1.0.1 Release: 1 Summary: Read key-value pairs from a .env file and set them as environment variables License: BSD-3-Clause URL: https://github.com/theskumar/python-dotenv Source0: https://github.com/theskumar/python-dotenv/archive/v%{version}/dotenv-%{version}.tar.gz BuildArch: noarch %description Python-dotenv reads key-value pairs from a .env file and can set them as environment variables. It helps in the development of applications following the 12-factor principles. %package -n python3-dotenv Summary: Read key-value pairs from a .env file and set them as environment variables Provides: python-dotenv = %{version}-%{release} Requires: python3-click BuildRequires: python3-devel BuildRequires: python3-setuptools %description -n python3-dotenv Python-dotenv reads key-value pairs from a .env file and can set them as environment variables. It helps in the development of applications following the 12-factor principles. %package help Summary: Development documents and examples for python-dotenv Provides: python3-dotenv-doc %description help Development documents and examples for python-dotenv. %prep %autosetup -n %{name}-%{version} -p1 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . sed -i 's/\(^.*$\)/"\1"/g' filelist.lst doclist.lst find %{buildroot} -type f -exec file {} ';' | grep "\<ELF\>" | awk -F ':' '{print $1}' | xargs -i chrpath --delete "{}" %files -n python3-dotenv -f filelist.lst %license LICENSE %doc README.md %dir %{python3_sitelib}/* %files help -f doclist.lst %license LICENSE %{_docdir}/* %changelog * Tue Aug 27 2024 yaoxin <yao_xin001@hoperun.com> - 1.0.1-1 - Update to 1.0.1: * Gracefully handle code which has been imported from a zipfile * Allow modules using load_dotenv to be reloaded when launched in a separate thread * Fix file not closed after deletion, handle error in the rewrite function * Use pathlib.Path in tests * Fix year in release date in changelog.md * Use https in README links * Tue Apr 04 2023 yaoxin <yaoxin30@h-partners.com> - 1.0.0-1 - Update to 1.0.0 * Tue Feb 21 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 0.21.1-1 - Update package to version 0.21.1 * Tue Dec 6 2022 lijian <lijian2@kylinos.cn> - 0.21.0-1 - Upgrade version to 0.21.0 * Sat Oct 09 2021 yinzehao <yinzehao@uniontech.com> - 0.19.0-1 - Package init.
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2