Projects
openEuler:Mainline
python-flit
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 2
View file
_service:tar_scm:python-flit.spec
Changed
@@ -1,45 +1,58 @@ +%global _empty_manifest_terminate_build 0 Name: python-flit -Version: 1.0 -Release: 6 +Version: 3.8.0 +Release: 1 Summary: Simplified packaging of Python modules -License: BSD and ASL 2.0 and Python +License: BSD-3-Clause URL: https://flit.readthedocs.io/en/latest/ -Source0: https://github.com/takluyver/flit/archive/%{version}.tar.gz - +Source0: https://files.pythonhosted.org/packages/28/c6/c399f38dab6d3a2518a50d334d038083483a787f663743d713f1d245bde3/flit-3.8.0.tar.gz BuildArch: noarch -BuildRequires: python3-devel python3-pip python3-requests python3-docutils python3-pygments python3-pytoml -Provides: bundled(python-tornado) +Requires: python3-requests python3-docutils python3-toml python3-setuptools +Requires: python3-flit-core = %{version}-%{release} %description Flit is a simple way to put Python packages and modules on PyPI. The specific usage is introduced on the website(https://flit.readthedocs.io/en/latest/), or query README. %package -n python3-flit -Summary: Simplified packaging of Python modules -%{?python_provide:%python_provide python3-flit} - -Requires: python3-requests python3-docutils python3-pytoml - -%global __requires_exclude ^python%{python3_version}dist\\(requests-download\\) - -Recommends: python3-pygments - +Summary: Simplified packaging of Python modules +Provides: python-flit = %{version}-%{release} +BuildRequires: python3-devel python3-pip python3-requests python3-docutils python3-pygments python3-pytoml %description -n python3-flit Flit is a simple way to put Python packages and modules on PyPI. The specific usage is introduced on the website(https://flit.readthedocs.io/en/latest/), or query README. +%package -n python3-flit-core +Summary: PEP 517 build backend for packages using Flit +Conflicts: python3-flit < 2.1.0-2 +Requires: python3-toml + +%description -n python3-flit-core +This provides a PEP 517 build backend for packages using Flit. The only public interface is the API specified by PEP 517, at flit_core.buildapi. + %prep %autosetup -n flit-%{version} %build export FLIT_NO_NETWORK=1 -XDG_CACHE_HOME=$PWD/.cache %{__python3} -m flit build --format wheel - +pushd flit_core +%pyproject_build +popd +export PYTHONPATH=$PWD:$PWD/flit_core +%pyproject_build %install -%py3_install_wheel flit-%{version}-py3-none-any.whl +cd flit_core +pip3 install -I build/flit_core-%{version}-py3-none-any.whl --root %{buildroot} --no-deps +cd - +pip3 install -I build/flit-%{version}-py3-none-any.whl --root %{buildroot} --no-deps +%files -n python3-flit-core +%license LICENSE +%doc flit_core/README.rst +%{python3_sitelib}/flit_core-*.dist-info/ +%{python3_sitelib}/flit_core/ %files -n python3-flit %{python3_sitelib}/* @@ -47,8 +60,10 @@ %license LICENSE %doc README.rst - %changelog +* Tue Apr 25 2023 liyanan <thistleslyn@163.com> - 3.8.0-1 +- Update to 3.8.0 + * Tue Jun 16 2020 hanxinke <hanxinke@huawei.com> - 1.0-6 - update python version
View file
_service
Changed
@@ -2,7 +2,7 @@ <service name="tar_scm"> <param name="scm">git</param> <param name="url">git@gitee.com:src-openeuler/python-flit.git</param> - <param name="revision">efd56a63ef2ab92fe9dc976491e3e6b2160bc179</param> + <param name="revision">master</param> <param name="exclude">*</param> <param name="extract">*</param> </service>
View file
_service:tar_scm:1.0.tar.gz
Deleted
View file
_service:tar_scm:flit-3.8.0.tar.gz
Added
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