summaryrefslogtreecommitdiff
path: root/dev-python/jinja2-time
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
commita3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-python/jinja2-time
parentbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff)
downloadbaldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip
Adding metadata
Diffstat (limited to 'dev-python/jinja2-time')
-rw-r--r--dev-python/jinja2-time/Manifest1
-rw-r--r--dev-python/jinja2-time/files/jinja2-time-0.2.0-arrow-compat.patch38
-rw-r--r--dev-python/jinja2-time/jinja2-time-0.2.0-r1.ebuild36
-rw-r--r--dev-python/jinja2-time/metadata.xml13
4 files changed, 0 insertions, 88 deletions
diff --git a/dev-python/jinja2-time/Manifest b/dev-python/jinja2-time/Manifest
deleted file mode 100644
index 3097c1b97822..000000000000
--- a/dev-python/jinja2-time/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST jinja2-time-0.2.0.tar.gz 5701 BLAKE2B 370318000b1c91bc3460861d389da667f6d7e840c4f9d9d1661491c9bf1b422b8ecff12d1da2467e7a9596d12832790e314c3298672d70b38b92a53198df0156 SHA512 8ac4686312cde689f7a431001833d5d477030c4f5e9470d949bd07a40fcb9521f6ddcde37a72468093121ff9451e352a0bb43d20a796d7a204cf94e8a7545f2c
diff --git a/dev-python/jinja2-time/files/jinja2-time-0.2.0-arrow-compat.patch b/dev-python/jinja2-time/files/jinja2-time-0.2.0-arrow-compat.patch
deleted file mode 100644
index 04d2993c453f..000000000000
--- a/dev-python/jinja2-time/files/jinja2-time-0.2.0-arrow-compat.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From aa4af9af0a0a5111a8ad21bc1b43bbdb586ee8af Mon Sep 17 00:00:00 2001
-From: Vincent Bernat <vincent@bernat.ch>
-Date: Sun, 3 Nov 2019 07:48:08 +0100
-Subject: [PATCH] Use shift() instead of replace() to modify dates
-
-Previously, the `replace()` method from arrow was shifting the date
-when the arguments were using the plural form. Since Arrow 0.9.0, this
-has been deprecated in favor of a `shift()` method. Arrow 0.14.5
-completely removed the ability for `replace()` to shift dates. This
-leads to errors like `AttributeError: unknown attribute: "hours"` when
-using plural form.
-
-This commit replace the use of `replace()` by `shift()` since the
-intent is always to shift the current date.
----
- jinja2_time/jinja2_time.py | 6 +++---
- setup.py | 4 ++--
- 2 files changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/jinja2_time/jinja2_time.py b/jinja2_time/jinja2_time.py
-index ce713cb..717c8a0 100755
---- a/jinja2_time/jinja2_time.py
-+++ b/jinja2_time/jinja2_time.py
-@@ -19,11 +19,11 @@ def _datetime(self, timezone, operator, offset, datetime_format):
- d = arrow.now(timezone)
-
- # Parse replace kwargs from offset and include operator
-- replace_params = {}
-+ shift_params = {}
- for param in offset.split(','):
- interval, value = param.split('=')
-- replace_params[interval.strip()] = float(operator + value.strip())
-- d = d.replace(**replace_params)
-+ shift_params[interval.strip()] = float(operator + value.strip())
-+ d = d.shift(**shift_params)
-
- if datetime_format is None:
- datetime_format = self.environment.datetime_format
diff --git a/dev-python/jinja2-time/jinja2-time-0.2.0-r1.ebuild b/dev-python/jinja2-time/jinja2-time-0.2.0-r1.ebuild
deleted file mode 100644
index 77388e7e059f..000000000000
--- a/dev-python/jinja2-time/jinja2-time-0.2.0-r1.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{13..14} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Jinja2 Extension for Dates and Times"
-HOMEPAGE="
- https://github.com/hackebrot/jinja2-time/
- https://pypi.org/project/jinja2-time/
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 arm64 ~ppc64 ~riscv x86"
-
-RDEPEND="
- dev-python/arrow[${PYTHON_USEDEP}]
- dev-python/jinja2[${PYTHON_USEDEP}]
-"
-BDEPEND="
- test? (
- dev-python/freezegun[${PYTHON_USEDEP}]
- )
-"
-
-PATCHES=(
- "${FILESDIR}"/${P}-arrow-compat.patch
-)
-
-distutils_enable_tests pytest
diff --git a/dev-python/jinja2-time/metadata.xml b/dev-python/jinja2-time/metadata.xml
deleted file mode 100644
index 19b0c65f72dc..000000000000
--- a/dev-python/jinja2-time/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>python@gentoo.org</email>
- <name>Python</name>
- </maintainer>
- <stabilize-allarches/>
- <upstream>
- <remote-id type="github">hackebrot/jinja2-time</remote-id>
- <remote-id type="pypi">jinja2-time</remote-id>
- </upstream>
-</pkgmetadata>