commit ee32a996512c7c0f8b6f8bb476b5a053f54571b0513e4ea94c600c0b740e7a61 Author: Tomáš Chvátal Date: Tue Oct 6 08:31:53 2020 +0000 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-poetry-core?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/poetry-core-1.0.0-gh.tar.gz b/poetry-core-1.0.0-gh.tar.gz new file mode 100644 index 0000000..d6cb53b --- /dev/null +++ b/poetry-core-1.0.0-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c8cff356f09b483cdbe752a18fa8a95716a55a225981e78410816659a9f82b87 +size 395521 diff --git a/python-poetry-core.changes b/python-poetry-core.changes new file mode 100644 index 0000000..e86f6e1 --- /dev/null +++ b/python-poetry-core.changes @@ -0,0 +1,17 @@ +------------------------------------------------------------------- +Mon Oct 5 13:35:26 UTC 2020 - Benjamin Greiner + +- 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 + +- Update to v1.0.0a8 + +------------------------------------------------------------------- +Thu May 7 05:58:22 AM UTC 2020 - John Vandenberg + +- Initial spec for v1.0.0a6 diff --git a/python-poetry-core.spec b/python-poetry-core.spec new file mode 100644 index 0000000..968359e --- /dev/null +++ b/python-poetry-core.spec @@ -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