summaryrefslogtreecommitdiff
path: root/dev-util/gertty
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-02-26 23:40:45 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-02-26 23:40:45 +0000
commite53a98716127eb7be20f46713a7442d5b8820633 (patch)
tree65a649f66422bc6677cae851cf42a166e45d2ced /dev-util/gertty
parentfab95e98818bada1626a7723a1348f4e920d25e0 (diff)
gentoo auto-resync : 26:02:2024 - 23:40:45
Diffstat (limited to 'dev-util/gertty')
-rw-r--r--dev-util/gertty/Manifest3
-rw-r--r--dev-util/gertty/files/sqlalchemy-2.patch116
-rw-r--r--dev-util/gertty/gertty-9999.ebuild5
3 files changed, 2 insertions, 122 deletions
diff --git a/dev-util/gertty/Manifest b/dev-util/gertty/Manifest
index 2860bbebcd59..7d4f6233ad17 100644
--- a/dev-util/gertty/Manifest
+++ b/dev-util/gertty/Manifest
@@ -1,5 +1,4 @@
-AUX sqlalchemy-2.patch 5029 BLAKE2B 0505cf0f09c59ac32d3df59eb24075815ebf334396a7a5a7516b2e9cfc9425a1f7dbd62066ec3a67eaae3c87454d39206f176df021ec5599da955699815b4781 SHA512 4b9ce3cb4e156be81fc2080789d7bf35e76b0f459c162027788b02839827277f9313fe1aa788914ae65e8d9c5bd67e4c26aa6ae6b826ae0b3fd96e188acad003
DIST gertty-1.6.0.tar.gz 122570 BLAKE2B 8c3628f9b0b56aaff30f183a1ab0d852b8ee487927833f41b8aa61f94f8d14eaf3a8d515d5edcb3fa7dd18ca36f42a977d12790c52d6c629a720b4f29252b030 SHA512 0fe5224f5b4b06910bba0d19453ea0f273f6ea0688b9aa092e11f929b71801581f6d7cead1d64c00912ee3363b98d4b36e903fa992a7ce36f190a4f3c09375d2
EBUILD gertty-1.6.0-r1.ebuild 1117 BLAKE2B a33e467e8315546cca0360cb152c16f90f548d58291861741e3dc40507ff7ead177257f0a3d06a59869fadf24566c9bb5f1820ca4a4559e1b035623d59e5ba05 SHA512 c9c484a7ffbd38cb78076b059d5d607aec0fbedb5d21df37e4f3017ebd7b2b010f0a7de1efda5548bf4a4cc5c6923038cbbc9f7516d9fb676d0a379acb736352
-EBUILD gertty-9999.ebuild 1244 BLAKE2B 4fe39c78da2bfc902b6b2630c430121ed3fb1b7e0fdf2d161899871ccad5799395a0571d45aa32fd8b5785f34309cc2a2f52c170566a82ae95d13aab785bdc26 SHA512 501646e422dabfe4900118d76ab4536962d6d19fa5111f6c7bca79349a7315f1bd10b9837a83ffc1584af9b67cec6e09f1e79603d0bb9b9ddac1a6e21bd259a9
+EBUILD gertty-9999.ebuild 1119 BLAKE2B 32a5c64e866957c14883f6d1ff0db2ab523ba319739afde3c67c06e97532a484184363cd6c2fd58fd3a84405d3b60b4fb07030f969bb27398b27dc8da6a272a3 SHA512 030e47553a48c37e96a58bbddca95c34c5e50d3fadc028d239fec99ea479d3aed9352e7b2565583e4c285400eab44416797703e199c746694cc6aa3b509b0171
MISC metadata.xml 380 BLAKE2B ad29f16ddaf80c092a0ade8008f0234b4c2d61b0676e3eb8ffff7055f0da28a3065de464c912b6345a94e0c189452f7826f70a924ca198a4eed8caa0c0b1dbc9 SHA512 30c0a68fffbedf4900a00bab11299c45dd65994b7e77bfa83ab7dd75f2bc0056b63e63ff2632d30b8c7bffbd4427c8a9b59ebaad3c854e1d4bdac48ffe6b330e
diff --git a/dev-util/gertty/files/sqlalchemy-2.patch b/dev-util/gertty/files/sqlalchemy-2.patch
deleted file mode 100644
index b1f8891223e9..000000000000
--- a/dev-util/gertty/files/sqlalchemy-2.patch
+++ /dev/null
@@ -1,116 +0,0 @@
-From 50b3b11ef9c30d4923c82949c66dc6fe3ed0047a Mon Sep 17 00:00:00 2001
-From: Matthew Thode <mthode@mthode.org>
-Date: Tue, 11 Apr 2023 23:46:27 -0500
-Subject: [PATCH] make gertty work with sqlalchemy-2
-
-Change-Id: I80c007af86cd7102c3c75963ad5b0a051dd9b541
-Signed-off-by: Matthew Thode <mthode@mthode.org>
----
- gertty/db.py | 41 +++++++++++++++++++++--------------------
- 1 file changed, 21 insertions(+), 20 deletions(-)
-
-diff --git a/gertty/db.py b/gertty/db.py
-index 92cc278..82cffaa 100644
---- a/gertty/db.py
-+++ b/gertty/db.py
-@@ -25,11 +25,12 @@ import six
- import sqlalchemy
- from sqlalchemy import create_engine, MetaData, Table, Column, Integer, String, Boolean, DateTime, Text, UniqueConstraint
- from sqlalchemy.schema import ForeignKey
--from sqlalchemy.orm import mapper, sessionmaker, relationship, scoped_session, joinedload
-+from sqlalchemy.orm import registry, sessionmaker, relationship, scoped_session, joinedload
- from sqlalchemy.orm.session import Session
- from sqlalchemy.sql import exists
- from sqlalchemy.sql.expression import and_
-
-+mapper = registry()
- metadata = MetaData()
- project_table = Table(
- 'project', metadata,
-@@ -713,8 +714,8 @@ class Check(object):
- self.created = created
- self.updated = updated
-
--mapper(Account, account_table)
--mapper(Project, project_table, properties=dict(
-+mapper.map_imperatively(Account, account_table)
-+mapper.map_imperatively(Project, project_table, properties=dict(
- branches=relationship(Branch, backref='project',
- order_by=branch_table.c.name,
- cascade='all, delete-orphan'),
-@@ -740,16 +741,16 @@ mapper(Project, project_table, properties=dict(
- order_by=change_table.c.number,
- ),
- ))
--mapper(Branch, branch_table)
--mapper(Topic, topic_table, properties=dict(
-+mapper.map_imperatively(Branch, branch_table)
-+mapper.map_imperatively(Topic, topic_table, properties=dict(
- projects=relationship(Project,
- secondary=project_topic_table,
- order_by=project_table.c.name,
- viewonly=True),
- project_topics=relationship(ProjectTopic),
- ))
--mapper(ProjectTopic, project_topic_table)
--mapper(Change, change_table, properties=dict(
-+mapper.map_imperatively(ProjectTopic, project_topic_table)
-+mapper.map_imperatively(Change, change_table, properties=dict(
- owner=relationship(Account),
- conflicts1=relationship(Change,
- secondary=change_conflict_table,
-@@ -787,7 +788,7 @@ mapper(Change, change_table, properties=dict(
- order_by=(approval_table.c.category,
- approval_table.c.value))
- ))
--mapper(Revision, revision_table, properties=dict(
-+mapper.map_imperatively(Revision, revision_table, properties=dict(
- messages=relationship(Message, backref='revision',
- cascade='all, delete-orphan'),
- files=relationship(File, backref='revision',
-@@ -798,9 +799,9 @@ mapper(Revision, revision_table, properties=dict(
- cascade='all, delete-orphan'),
-
- ))
--mapper(Message, message_table, properties=dict(
-+mapper.map_imperatively(Message, message_table, properties=dict(
- author=relationship(Account)))
--mapper(File, file_table, properties=dict(
-+mapper.map_imperatively(File, file_table, properties=dict(
- comments=relationship(Comment, backref='file',
- order_by=(comment_table.c.line,
- comment_table.c.created),
-@@ -812,20 +813,20 @@ mapper(File, file_table, properties=dict(
- comment_table.c.created)),
- ))
-
--mapper(Comment, comment_table, properties=dict(
-+mapper.map_imperatively(Comment, comment_table, properties=dict(
- author=relationship(Account)))
--mapper(Label, label_table)
--mapper(PermittedLabel, permitted_label_table)
--mapper(Approval, approval_table, properties=dict(
-+mapper.map_imperatively(Label, label_table)
-+mapper.map_imperatively(PermittedLabel, permitted_label_table)
-+mapper.map_imperatively(Approval, approval_table, properties=dict(
- reviewer=relationship(Account)))
--mapper(PendingCherryPick, pending_cherry_pick_table)
--mapper(SyncQuery, sync_query_table)
--mapper(Hashtag, hashtag_table)
--mapper(Server, server_table, properties=dict(
-+mapper.map_imperatively(PendingCherryPick, pending_cherry_pick_table)
-+mapper.map_imperatively(SyncQuery, sync_query_table)
-+mapper.map_imperatively(Hashtag, hashtag_table)
-+mapper.map_imperatively(Server, server_table, properties=dict(
- own_account=relationship(Account)
- ))
--mapper(Checker, checker_table)
--mapper(Check, check_table, properties=dict(
-+mapper.map_imperatively(Checker, checker_table)
-+mapper.map_imperatively(Check, check_table, properties=dict(
- checker=relationship(Checker)))
-
-
---
-2.39.2
-
diff --git a/dev-util/gertty/gertty-9999.ebuild b/dev-util/gertty/gertty-9999.ebuild
index 5f974bff7261..9d34f2fa9cef 100644
--- a/dev-util/gertty/gertty-9999.ebuild
+++ b/dev-util/gertty/gertty-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -21,9 +21,6 @@ LICENSE="Apache-2.0"
SLOT="0"
IUSE=""
-# needed til upstream merges https://review.opendev.org/c/ttygroup/gertty/+/880123
-PATCHES="${FILESDIR}/sqlalchemy-2.patch"
-
DEPEND=">=dev-python/pbr-0.11[${PYTHON_USEDEP}]"
RDEPEND="
>=dev-python/pbr-0.11[${PYTHON_USEDEP}]