summaryrefslogtreecommitdiff
path: root/dev-python/lockfile
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
commitb590c8d7572b727d565cc0b8ff660d43569845de (patch)
tree06f7a4102ea4e845df8b66660f252920d52952f9 /dev-python/lockfile
parent24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff)
downloadbaldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip
Adding metadata
Diffstat (limited to 'dev-python/lockfile')
-rw-r--r--dev-python/lockfile/Manifest1
-rw-r--r--dev-python/lockfile/files/lockfile-0.12.2-pytest.patch20
-rw-r--r--dev-python/lockfile/lockfile-0.12.2-r3.ebuild30
-rw-r--r--dev-python/lockfile/metadata.xml13
4 files changed, 64 insertions, 0 deletions
diff --git a/dev-python/lockfile/Manifest b/dev-python/lockfile/Manifest
new file mode 100644
index 000000000000..788b2e59c3f5
--- /dev/null
+++ b/dev-python/lockfile/Manifest
@@ -0,0 +1 @@
+DIST lockfile-0.12.2.tar.gz 20874 BLAKE2B 8a1e49e8799516b44b219fb28101f3985d75fea842456e69c4357b71eb6a7be21cc56c0f9e885df8da3fb6c584ff4a47c7daad87ba34fc47a8cd40644ece063b SHA512 67b7d651d7e963a497c2604912c61eed90181cdd09c744a0ceaa26e6bbe09d1a871ce48be3949b7da7ea6b366b15492c8c8de589edeca2641ca5e6cb3804df07
diff --git a/dev-python/lockfile/files/lockfile-0.12.2-pytest.patch b/dev-python/lockfile/files/lockfile-0.12.2-pytest.patch
new file mode 100644
index 000000000000..47362a4de6a0
--- /dev/null
+++ b/dev-python/lockfile/files/lockfile-0.12.2-pytest.patch
@@ -0,0 +1,20 @@
+diff -dup -r lockfile-0.12.2/test/compliancetest.py lockfile-0.12.2.new/test/compliancetest.py
+--- lockfile-0.12.2/test/compliancetest.py 2015-11-25 19:29:13.000000000 +0100
++++ lockfile-0.12.2.new/test/compliancetest.py 2022-05-27 07:55:43.720523461 +0200
+@@ -6,15 +6,13 @@ import lockfile
+
+
+ class ComplianceTest(object):
+- def __init__(self):
+- self.saved_class = lockfile.LockFile
+-
+ def _testfile(self):
+ """Return platform-appropriate file. Helper for tests."""
+ import tempfile
+ return os.path.join(tempfile.gettempdir(), 'trash-%s' % os.getpid())
+
+ def setup(self):
++ self.saved_class = lockfile.LockFile
+ lockfile.LockFile = self.class_to_test
+
+ def teardown(self):
diff --git a/dev-python/lockfile/lockfile-0.12.2-r3.ebuild b/dev-python/lockfile/lockfile-0.12.2-r3.ebuild
new file mode 100644
index 000000000000..ce5e67d093be
--- /dev/null
+++ b/dev-python/lockfile/lockfile-0.12.2-r3.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{13..14} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Platform-independent file locking module"
+HOMEPAGE="
+ https://launchpad.net/pylockfile/
+ https://pypi.org/project/lockfile/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
+
+BDEPEND="
+ >dev-python/pbr-1.8[${PYTHON_USEDEP}]
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-pytest.patch
+)
+
+distutils_enable_tests pytest
+distutils_enable_sphinx doc/source --no-autodoc
diff --git a/dev-python/lockfile/metadata.xml b/dev-python/lockfile/metadata.xml
new file mode 100644
index 000000000000..d5a4bc4beec6
--- /dev/null
+++ b/dev-python/lockfile/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <stabilize-allarches />
+ <upstream>
+ <remote-id type="launchpad">pylockfile</remote-id>
+ </upstream>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>