14
0

Accepting request 1099608 from devel:languages:python

- Update to 0.3.5:
  * Packaging improvements: Include source-files in the release
- Drop patch correct-packages-decl.patch:
  * Included upstream.
- Drop patch correct-version-to-tag.patch:
  * No longer required.

OBS-URL: https://build.opensuse.org/request/show/1099608
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py-partiql-parser?expand=0&rev=2
This commit is contained in:
2023-07-25 09:49:15 +00:00
committed by Git OBS Bridge
6 changed files with 14 additions and 46 deletions

View File

@@ -1,26 +0,0 @@
From 7138237cdb51fae238067166bd765f900e68eb7d Mon Sep 17 00:00:00 2001
From: Steve Kowalik <steven@wedontsleep.org>
Date: Mon, 17 Jul 2023 13:22:22 +1000
Subject: [PATCH] Add py_partiql_parser to packages list
setuptools traverses the packages list when deciding what to populate
the sdist and wheels with, and as it stands, only the tests are shipped
in them. Include both py_partiql_parser and the _internal module, so
they are shipped as well.
---
pyproject.toml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/pyproject.toml b/pyproject.toml
index 80675cc..5ebda0d 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -16,6 +16,8 @@ dependencies = []
[tool.setuptools]
packages = [
+ "py_partiql_parser",
+ "py_partiql_parser._internal",
"tests"
]

View File

@@ -1,12 +0,0 @@
Index: py-partiql-parser-0.3.4/pyproject.toml
===================================================================
--- py-partiql-parser-0.3.4.orig/pyproject.toml
+++ py-partiql-parser-0.3.4/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "py-partiql-parser"
-version = "0.3.3"
+version = "0.3.4"
description = "Pure Python PartiQL Parser"
readme = "README.md"
keywords = ["pypartiql", "parser"]

View File

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

View File

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

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Jul 20 02:17:52 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 0.3.5:
* Packaging improvements: Include source-files in the release
- Drop patch correct-packages-decl.patch:
* Included upstream.
- Drop patch correct-version-to-tag.patch:
* No longer required.
-------------------------------------------------------------------
Mon Jul 17 05:23:17 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -17,16 +17,12 @@
Name: python-py-partiql-parser
Version: 0.3.4
Version: 0.3.5
Release: 0
Summary: Pure Python PartiQL Parser
License: MIT
URL: https://github.com/getmoto/py-partiql-parser
Source: https://github.com/getmoto/py-partiql-parser/archive/refs/tags/%{version}.tar.gz#/py-partiql-parser-%{version}.tar.gz
# PATCH-FIX-UPSTREAM gh#getmoto/py-partiql-parser#3
Patch0: correct-packages-decl.patch
# PATCH-FIX-OPENSUSE https://github.com/getmoto/py-partiql-parser/issues/4
Patch1: correct-version-to-tag.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools >= 59.0.0}