1
0
Tomáš Chvátal 2020-10-06 08:31:53 +00:00 committed by Git OBS Bridge
commit ee32a99651
5 changed files with 120 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c8cff356f09b483cdbe752a18fa8a95716a55a225981e78410816659a9f82b87
size 395521

View File

@ -0,0 +1,17 @@
-------------------------------------------------------------------
Mon Oct 5 13:35:26 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- Update to v1.0.0
* first stable release. See CHANGLOG.md for changes between a6
and release
- The released PyPI package does not have the tests. Use Github.
-------------------------------------------------------------------
Sun Jul 12 05:48:29 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Update to v1.0.0a8
-------------------------------------------------------------------
Thu May 7 05:58:22 AM UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Initial spec for v1.0.0a6

76
python-poetry-core.spec Normal file
View File

@ -0,0 +1,76 @@
#
# spec file for package python-poetry-core
#
# Copyright (c) 2020 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-poetry-core
Version: 1.0.0
Release: 0
Summary: Python poetry core utilities
License: MIT
Group: Development/Languages/Python
URL: https://github.com/python-poetry/poetry-core
# Only the github archive provides the tests
Source: https://github.com/python-poetry/poetry-core/archive/%{version}.tar.gz#/poetry-core-%{version}-gh.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: python-dephell-rpm-macros
BuildRequires: python-rpm-macros
Requires: python-typing >= 3.7.4
BuildArch: noarch
# SECTION these are all test dependencies, including devel and git
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pep517}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module typing >= 3.7.4}
BuildRequires: %{python_module virtualenv}
BuildRequires: fdupes
BuildRequires: git-core
# /SECTION
%python_subpackages
%description
A PEP 517 build backend implementation developed for Poetry. This project is
intended to be a light weight, fully compliant, self-contained package allowing
PEP 517 compatible build frontends to build Poetry managed projects.
%prep
%setup -q -n poetry-core-%{version}
# python-poetry will provide this file
rm poetry/__init__.py
%dephell_gensetup
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# gh#python-poetry/poetry#1645
git init
%pytest
%files %{python_files}
%doc README.md
%license LICENSE
%dir %{python_sitelib}/poetry
%{python_sitelib}/poetry/core
%{python_sitelib}/poetry_core-%{version}-py*.egg-info
%changelog