From 899fd2183200289dce8555a45a8dc726767ffc2d Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Thu, 30 Oct 2025 12:06:13 -0700 Subject: [PATCH] add: gay (#6969) (#6988) * chore(gstreamer1-plugins-ugly): Track and rebuild for x264 and x265 (#6961) (cherry picked from commit 26262394c3b9a0706008197e45ad455d57592800) * add: gay * revert gstreamer stuff * gay is living on the edge --------- (cherry picked from commit 33beac85f9e150facf158e8d14ab0ca9e9b1f262) Signed-off-by: GildedRoach Signed-off-by: Owen-sz Co-authored-by: Gilver Co-authored-by: Owen-sz Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- anda/langs/python/gay/anda.hcl | 9 ++++++ anda/langs/python/gay/gay.spec | 53 +++++++++++++++++++++++++++++++ anda/langs/python/gay/update.rhai | 5 +++ 3 files changed, 67 insertions(+) create mode 100644 anda/langs/python/gay/anda.hcl create mode 100644 anda/langs/python/gay/gay.spec create mode 100644 anda/langs/python/gay/update.rhai diff --git a/anda/langs/python/gay/anda.hcl b/anda/langs/python/gay/anda.hcl new file mode 100644 index 0000000000..0ac75ee2af --- /dev/null +++ b/anda/langs/python/gay/anda.hcl @@ -0,0 +1,9 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "gay.spec" + } + labels { + nightly = 1 + } +} diff --git a/anda/langs/python/gay/gay.spec b/anda/langs/python/gay/gay.spec new file mode 100644 index 0000000000..6de86d7c54 --- /dev/null +++ b/anda/langs/python/gay/gay.spec @@ -0,0 +1,53 @@ +%global commit af18bcf210659b8b5a40624ffab791d49e831017 +%global commit_date 20241015 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) + +%global pypi_name gay +%global _desc Colour your text / terminal to be more gay. + +Name: python-%{pypi_name} +Version: %commit_date.%shortcommit +Release: 1%?dist +Summary: Colour your text / terminal to be more gay +License: MIT +URL: https://github.com/ms-jpq/gay +Source0: %url/archive/%commit/gay-%commit.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +Provides: gay +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n gay-%{commit} + +%build +%pyproject_wheel + +%install +%pyproject_install + +%files -n python3-%{pypi_name} +%doc README.md +%license LICENSE +%{_bindir}/gay +%ghost %python3_sitelib/__pycache__/*.cpython-*.pyc +%ghost %python3_sitelib/%{name}/subcommands/__pycache__/*.cpython-*.pyc +%python3_sitelib/gay-1.3.4.dist-info/* + +%changelog +* Tue Sep 30 2025 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/gay/update.rhai b/anda/langs/python/gay/update.rhai new file mode 100644 index 0000000000..8386a9f9f8 --- /dev/null +++ b/anda/langs/python/gay/update.rhai @@ -0,0 +1,5 @@ +rpm.global("commit", gh_commit("ms-jpq/gay")); +if rpm.changed() { + rpm.release(); + rpm.global("commit_date", date()); +}