bump(dev-python/lockfile): sync with upstream

This commit is contained in:
David Michael 2017-05-03 20:25:45 -07:00
parent b77593f78c
commit cad70ed41b
14 changed files with 132 additions and 371 deletions

View File

@ -1,69 +0,0 @@
# ChangeLog for dev-python/lockfile
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/lockfile/ChangeLog,v 1.17 2013/07/23 19:51:54 pinkbyte Exp $
23 Jul 2013; Sergey Popov <pinkbyte@gentoo.org> lockfile-0.9.1-r1.ebuild:
Stable on amd64 and x86, wrt bug #474188
04 May 2013; Mike Gilbert <floppym@gentoo.org> lockfile-0.9.1-r1.ebuild:
Drop setuptools dep.
03 May 2013; Ian Delaney <idella4@gentoo.org> +files/py3-support.patch,
lockfile-0.9.1-r1.ebuild:
on closer review dropped py2.5; added py3 support & matching patch prepared by
'solj' in Bug #464766, closes same Bug by 'solj'
*lockfile-0.9.1-r1 (02 May 2013)
02 May 2013; Ian Delaney <idella4@gentoo.org> +lockfile-0.9.1-r1.ebuild:
migrate -> distutils-r1
26 Jan 2013; Matthew Thode <prometheanfire@gentoo.org> +lockfile-0.8.ebuild:
adding lockfile-0.8 because sys-cluster/cinder needs it
09 Jun 2012; Mike Frysinger <vapier@gentoo.org> lockfile-0.9.1.ebuild:
Add arm love for ChromiumOS.
12 Mar 2012; Brent Baude <ranger@gentoo.org> lockfile-0.9.1.ebuild:
Marking lockfile-0.9.1 ppc for bug 407429
25 Oct 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
-lockfile-0.9.ebuild:
Delete.
25 Oct 2010; Christian Faulhammer <fauli@gentoo.org>
lockfile-0.9.1.ebuild:
stable x86, bug 341613
18 Oct 2010; Markos Chandras <hwoarang@gentoo.org> lockfile-0.9.1.ebuild:
Stable on amd64 wrt bug #341613
29 Sep 2010; Brent Baude <ranger@gentoo.org> lockfile-0.9.1.ebuild:
Marking lockfile-0.9.1 ~ppc for bug 315373
*lockfile-0.9.1 (19 Sep 2010)
19 Sep 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+lockfile-0.9.1.ebuild:
Version bump.
28 Jun 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> lockfile-0.9.ebuild:
x86 stable wrt bug #323693
24 Jun 2010; Pacho Ramos <pacho@gentoo.org> lockfile-0.9.ebuild:
stable amd64, bug 323693
*lockfile-0.9 (10 May 2010)
10 May 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+lockfile-0.9.ebuild:
Version bump.
12 Jan 2010; Christian Faulhammer <fauli@gentoo.org> lockfile-0.8.ebuild:
add ~x86, bug 297725
*lockfile-0.8 (21 Dec 2009)
21 Dec 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+lockfile-0.8.ebuild, +metadata.xml:
Initial addition (bug #289495).

View File

@ -1,22 +1,7 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
AUX py3-support.patch 3486 SHA256 91794f21166de462341a0f137bab87d7c89e1bcec54f36c34ed7cc95a3665b4f SHA512 a23cd85605b9a79d4c9cc19550c76fcde70a0da40dbd77a98e8de00fdd3d8a1da5b421d317f88c136f8d3affe456133bd6715f83dffeb45707d8043e654246a9 WHIRLPOOL 1d68c567cf6a0fc23f9886eb52f8c60df803239d05fe4ea0d5797f3a52e2478cb396af1fb340b3b61c3056161b697dbbe81f677cb86906214348d74216191caf
DIST lockfile-0.8.tar.gz 8825 SHA256 e6e20ec66ceaea2cf81c675216d68f11b3d15a855fe6c64a26ef983b399afd7a SHA512 6a854639e1628a9c484fbd543a217814a5c3f02e6887fee1060cff729372d360cb2fe96d50048bd85187add9ca573d7a37de7c57aa40080f3c66eaa55f30b1bc WHIRLPOOL 584e2a5101cfe2bb7fb89690c566398ecf3bd205699a4d448681168b92174e300ca4312c43cbd62c2bbf595d8924d70fa82b943e1be465cb5a01caafe6229c52
DIST lockfile-0.9.1.tar.gz 16949 SHA256 88d8ea8d435ee5691117a87d1ca8fed2f8da881eb145295bf6895ac2c416e95d SHA512 1f7e2b13c42df730339e653a361bf4b85a289d62ed9277f159ab454b1e951d922884086299912472236ce0772d5eceebab7e0c6407590bb2ccbe9c56b664de05 WHIRLPOOL 543bc9ad7e937feba52c6132eee3356a9a229c8866f4f605f8399343a676fc98f62bf33f121c4f8dcbac8e18f38168561d34119efea5e30b53427a7e7283055d
EBUILD lockfile-0.8.ebuild 1095 SHA256 eb170eaded29845a88bf61ac3f1c756b119dab7c8b6920d7130bc598be1598e7 SHA512 227f8c5123d6c5ab1d3e8ebad9e635dca2047dffb56950908a3d77f3b6a52d5dc2065d9785f2e0e738d64c4ce89ce6c43046b0a0c0e548dc9ff6677512d3e538 WHIRLPOOL 8f999a709dcbc402faaf44aeff13ee2ccb6de9d6d7c232697a1f1a27d36aeca259d2798f313ba10764e207be65245b902bf65cb38558626e7b593902b181b7a9
EBUILD lockfile-0.9.1-r1.ebuild 1298 SHA256 e1d35fd591883dc06fdb73c30dd75f010e4ad05c54149e234e328817fd9d026e SHA512 561f0711a2cf3628280497eed0a3b56d07c55bf7ec05bfca6ca6b13e08ec75bdf05e094d694be984d8cbfafae88241d8a01e44bbab00aee8dedaf077eec82ea2 WHIRLPOOL 5ac3f1d118c9abf7460540955bed1f9dd580aed4e0d5edefcc034f4a25c7fd715e936ebffb54c082b1ff042351d7800fb3075c9392e7583da7b7708842b09fab
EBUILD lockfile-0.9.1.ebuild 1085 SHA256 3714322bb43bfbf950e31788fa235002926d8d80292b1bd2b704496364f2f54a SHA512 d51a2ce293cfe28b49fb2260e4ffd7c87daa96e0032c673e8720b71f6ff6fd80f29bd02658204da2fc3c59ff2a4be6fef3bbe21335b7ce9313fde9b3be1d98ca WHIRLPOOL 42ce8f6452f3d8288ad2dcd3c8d30c19c3ea18e42c8b9513d462ce43acb25cf7d75837debc27747148541bafb702bb81e66c57ed3babaa27325d87bb4d8fb978
MISC ChangeLog 2369 SHA256 cd8b47d23b8c4254d68c85395baf6ca7115a21735e12d07181441ffb1f31ecc6 SHA512 ae18825623d19c74fb1a59f669cd827b6e363db3e0981702a55c121c074d42219a547489af2a7076bb60808c69e61b34c4e6cbd01dd65de02c37f024092d4a7d WHIRLPOOL 95554efc4ae5aa145c8aa14bc5d1c230edcdf196a4b5766ca9b82e7a1b02ec8b07d984609c7babc8ed82331f722fa078d05741dc80914fa36f1a3f8939aa3c22
MISC metadata.xml 240 SHA256 4e1d68aabbcacfe9c03cab025906327bd28a6c3f9e05bc471816986fb6e3bb7b SHA512 4f6c2bb9e7e03e8f62ad8ca57972f765d146a190b3b07a22b1c5d3bd28778f0bf55ec6a906897d8d29d5473e59f0002e3da5ef81226c17962e6973a4ad9e78a2 WHIRLPOOL a7c4425416dd6fc3b9b4639fb6049d43d6b264c17eb8edf485e27758c4be851d9f8c7427de6a9146b0c8e7f2b3b7f9cf225fc063cfb8d8dc9c4e3819942d9c16
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
iQEcBAEBCAAGBQJR7t7bAAoJECo/aRed9267P8YIALieP9IzgDgh5+4FB5zwcb4d
08A799GWXiJtRhAcDYRNe9l2mzpO2HRZYIpHzxkWzsdCUG59ZDh2xdXcOvqofq3z
bMFxbZ3m7yHwSC27Qxd3qkKjYgQjUMQXEg7xeFCH9WfZeGRH6CU0Xf2VFiuLt8JV
A2Mqs4jCLoDfnt/I0E5+yPJvtRki6eLbgZlwyoJeBw737t7rz4JhvFy+p47ujvPB
mLxGaHQPSJEeiwk0XsHkB4KP10ggUjNWxx5/QU0WCiDQ+X0UbJuwyyfOZ1cw0Z5/
wfalSiASy3/wHNu3oBiWh5y8tH1yqLlndWB/liKxM33Ja2rgHKYwWBdCoMbAkjw=
=uQNS
-----END PGP SIGNATURE-----
DIST lockfile-0.11.0.tar.gz 20909 SHA256 eed7e0c829135aaaf2a9df83652bc6e2cc50175d933741c25aac0394674e7fd3 SHA512 6c4c69e1434194076a99f8134a2558c791675d420a17687dfd5b38c1303564392ecc388ec285d55a20027bcbcbc1b3475a489b70390796c46346b89d4b18ad89 WHIRLPOOL 3fe41cec5f22109ce17e249a02469201e74cc6facd18bbcd5d6b75984f1f72e66d36eab68772d9bc6aa0c1ef6597f3bdf8f8757d9f867323d152cca8a47a445f
DIST lockfile-0.12.2.tar.gz 20874 SHA256 6aed02de03cba24efabcd600b30540140634fc06cfa603822d508d5361e9f799 SHA512 67b7d651d7e963a497c2604912c61eed90181cdd09c744a0ceaa26e6bbe09d1a871ce48be3949b7da7ea6b366b15492c8c8de589edeca2641ca5e6cb3804df07 WHIRLPOOL a8aeb69cfeb0c190885fce7198ebfdb898b361806816a3b902e8764ad909cec8497dc5f09004bec2c0bbc6a88c057a4104e9a40e93fd25bb32437f4b63de491a
EBUILD lockfile-0.11.0-r1.ebuild 1259 SHA256 dd1d1a44808618e80634fbb9019222e8fb409382e090d48b56f80f4cc74be5fb SHA512 883c9eb0e3ef7792ba65fbb1e622c9a63ae635dad5e2d23900670978faa61593999a18ab8432411e5edf43149e77b735cd7bb316b61b24082415969065d68445 WHIRLPOOL c2d04b8cd54a09281c27854e668a6b1109fb66d17d7d483742479452ac83c0ffd75af38bcfaf3cf215a0538c7cb360b8082c12dd6008bf0ebcd061380829faec
EBUILD lockfile-0.12.2.ebuild 1191 SHA256 c3a1b5468dc104e5b10e74a4530a7d9cfc5b1311dcf19197b2cf34f88c19d4ba SHA512 2a95be5b416c4abbf1d477eccb6e3f9c88e4bbf28f28ce6f897220c4a628e5fc6fb11921cd893b78830fdbe80cbf8a138159d51f433afe61c9eeb21584f806ab WHIRLPOOL d4457abaee998c9925d570823e36484bf8f1ee793fda06a491c60e9ee584815d5f09b0ce2c33234104d7eb929950c52ac2aa4a0582e3389e46d3a320521ea7b4
MISC ChangeLog 8861 SHA256 0dac2b0e47356ff2512a35f0ff94c208fc993bea30d9aba618aaadb6ce15a9d5 SHA512 385fca122071298baa1e478a518e0bc6148d78d2f4ed885a2fa25e149ced8c63fd3f57c039df4be405bb4be7487686ea2bb4086360a3770c2a7b3bb1fafd50a9 WHIRLPOOL eb1a786e155527fbe4df8a59cda0d9a9fd6a8460b804cf3a6d8438ba7204db0cfadfb52444e2e6e2d2ba535cf5c2e404bd7e88714aeda90e08e1dedc394a7c39
MISC ChangeLog-2015 3916 SHA256 b7cb172a9a6f2b2ab50a136e77bf301e56ff42e9ab1b177dcdfef412bab5bae2 SHA512 d3e8144da3e7d27e533d44db9a4646d76a7a704c1a08dbf5796e6acf49ed78d638f600afc4a78a24f8219a94fb9b7144dec7d7056bf00cfe758d77289bf43b0b WHIRLPOOL f9866d12d44f9c84fac7891f1f7d4f54ea088772cf2ac3ccdd6786b5ef50c5d5272fdcf91ddf7aef73dd6a7307733bc00ab62ce46c67ce2c63799e7ecafb6207
MISC metadata.xml 364 SHA256 3b1572a1632c29112798c0cc38efcb2128d222f316bc77ca2bb65c78f6db0448 SHA512 b736cd5f710ac2c628d8379aa69fbf3cf5015a1edd80405ee695d56d0a0f86bc40c8ecbe70083338e6b7fdd115d11318358f5fd04b2397e0ab5ab7b315bfad5b WHIRLPOOL f194d07ce60638fce09ebecfc9b54b67b4f31470da29d0251ba0dbc0191fb8d9b7ab171220ec743830f3682943bed012757e70ded353b51badca8123696e52cb

View File

@ -1,107 +0,0 @@
# https://github.com/smontanaro/pylockfile/commit/379fa0b6131995f96f5bd048906fc0bd3c2527f7
# https://github.com/smontanaro/pylockfile/commit/eeead7d35e9a97b457b90edd241fd031df68d57b
# https://github.com/smontanaro/pylockfile/commit/bf2627a5b9f83e1bbcf1b5030a693acb6236a211
--- a/lockfile/__init__.py
+++ b/lockfile/__init__.py
@@ -1,4 +1,3 @@
-
"""
lockfile.py - Platform-independent advisory file locks.
@@ -50,6 +49,8 @@ Exceptions:
NotMyLock - File was locked but not by the current thread/process
"""
+from __future__ import absolute_import
+
import sys
import socket
import os
@@ -257,7 +258,7 @@ def LinkFileLock(*args, **kwds):
Do not use in new code. Instead, import LinkLockFile from the
lockfile.linklockfile module.
"""
- import linklockfile
+ from . import linklockfile
return _fl_helper(linklockfile.LinkLockFile, "lockfile.linklockfile",
*args, **kwds)
@@ -267,7 +268,7 @@ def MkdirFileLock(*args, **kwds):
Do not use in new code. Instead, import MkdirLockFile from the
lockfile.mkdirlockfile module.
"""
- import mkdirlockfile
+ from . import mkdirlockfile
return _fl_helper(mkdirlockfile.MkdirLockFile, "lockfile.mkdirlockfile",
*args, **kwds)
@@ -277,7 +278,7 @@ def SQLiteFileLock(*args, **kwds):
Do not use in new code. Instead, import SQLiteLockFile from the
lockfile.mkdirlockfile module.
"""
- import sqlitelockfile
+ from . import sqlitelockfile
return _fl_helper(sqlitelockfile.SQLiteLockFile, "lockfile.sqlitelockfile",
*args, **kwds)
@@ -306,10 +307,10 @@ def locked(path, timeout=None):
return decor
if hasattr(os, "link"):
- import linklockfile as _llf
+ from . import linklockfile as _llf
LockFile = _llf.LinkLockFile
else:
- import mkdirlockfile as _mlf
+ from . import mkdirlockfile as _mlf
LockFile = _mlf.MkdirLockFile
FileLock = LockFile
diff --git a/lockfile/pidlockfile.py b/lockfile/pidlockfile.py
index 3fc8f63..a965ba8 100644
--- a/lockfile/pidlockfile.py
+++ b/lockfile/pidlockfile.py
@@ -78,7 +78,7 @@ class PIDLockFile(LockBase):
while True:
try:
write_pid_to_pidfile(self.path)
- except OSError, exc:
+ except OSError as exc:
if exc.errno == errno.EEXIST:
# The lock creation failed. Maybe sleep a bit.
if timeout is not None and time.time() > end_time:
@@ -159,7 +159,7 @@ def write_pid_to_pidfile(pidfile_path):
"""
open_flags = (os.O_CREAT | os.O_EXCL | os.O_WRONLY)
- open_mode = 0644
+ open_mode = 0o644
pidfile_fd = os.open(pidfile_path, open_flags, open_mode)
pidfile = os.fdopen(pidfile_fd, 'w')
@@ -186,7 +186,7 @@ def remove_existing_pidfile(pidfile_path):
"""
try:
os.remove(pidfile_path)
- except OSError, exc:
+ except OSError as exc:
if exc.errno == errno.ENOENT:
pass
else:
diff --git a/lockfile/sqlitelockfile.py b/lockfile/sqlitelockfile.py
index ec75490..d596229 100644
--- a/lockfile/sqlitelockfile.py
+++ b/lockfile/sqlitelockfile.py
@@ -3,6 +3,11 @@ from __future__ import absolute_import, division
import time
import os
+try:
+ unicode
+except NameError:
+ unicode = str
+
from . import LockBase, NotLocked, NotMyLock, LockTimeout, AlreadyLocked
class SQLiteLockFile(LockBase):

View File

@ -0,0 +1,48 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
DESCRIPTION="Platform-independent file locking module"
HOMEPAGE="https://launchpad.net/pylockfile https://pypi.python.org/pypi/lockfile"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86"
IUSE="doc test"
DEPEND="
>dev-python/pbr-0.7[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
RDEPEND=""
DOCS=( ACKS AUTHORS ChangeLog README.rst RELEASE-NOTES )
python_prepare_all() {
rm requirements.txt || die
distutils-r1_python_prepare_all
}
python_compile_all() {
if use doc; then
einfo "Generation of documentation"
emake -C doc/source html || die "Generation of documentation failed"
fi
}
python_test() {
# "${PYTHON}" test/test_lockfile.py yeilds no informative coverage output
nosetests || die "test_lockfile failed under ${EPYTHON}"
}
python_install_all() {
use doc && local HTML_DOCS=( doc/source/.build/html/. )
distutils-r1_python_install_all
}

View File

@ -0,0 +1,43 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
DESCRIPTION="Platform-independent file locking module"
HOMEPAGE="https://launchpad.net/pylockfile https://pypi.python.org/pypi/lockfile"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="doc test"
DEPEND="
>dev-python/pbr-1.8[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
RDEPEND=""
DOCS=( ACKS AUTHORS ChangeLog README.rst RELEASE-NOTES )
python_compile_all() {
if use doc; then
einfo "Generation of documentation"
emake -C doc/source html || die "Generation of documentation failed"
fi
}
python_test() {
# "${PYTHON}" test/test_lockfile.py yeilds no informative coverage output
nosetests --verbose || die "test_lockfile failed under ${EPYTHON}"
}
python_install_all() {
use doc && local HTML_DOCS=( doc/source/.build/html/. )
distutils-r1_python_install_all
}

View File

@ -1,44 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/lockfile/lockfile-0.8.ebuild,v 1.4 2013/01/26 05:38:07 prometheanfire Exp $
EAPI="3"
PYTHON_DEPEND="2:2.5"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="2.4 3.*"
inherit distutils
DESCRIPTION="Platform-independent file locking module"
HOMEPAGE="http://code.google.com/p/pylockfile/ http://pypi.python.org/pypi/lockfile http://smontanaro.dyndns.org/python/"
SRC_URI="http://pylockfile.googlecode.com/files/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~x86"
IUSE="doc"
DEPEND="doc? ( dev-python/sphinx )"
RDEPEND=""
DOCS="ACKS README RELEASE-NOTES"
src_compile() {
distutils_src_compile
if use doc; then
einfo "Generation of documentation"
cd doc
emake html || die "Generation of documentation failed"
fi
}
src_install() {
distutils_src_install
if use doc; then
cd doc/.build/html
docinto html
cp -R [a-z]* _static "${ED}usr/share/doc/${PF}/html" || die "Installation of documentation failed"
fi
}

View File

@ -1,43 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/lockfile/lockfile-0.9.1-r1.ebuild,v 1.4 2013/07/23 19:51:54 pinkbyte Exp $
EAPI=5
# py2.5 dropped; Test file reveals py2.5 can't support a core file
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} pypy{1_9,2_0} )
inherit distutils-r1
DESCRIPTION="Platform-independent file locking module"
HOMEPAGE="http://code.google.com/p/pylockfile/ http://pypi.python.org/pypi/lockfile http://smontanaro.dyndns.org/python/"
SRC_URI="http://pylockfile.googlecode.com/files/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm ~ppc x86"
IUSE="doc test"
DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
RDEPEND=""
DOCS=( ACKS README RELEASE-NOTES )
PATCHES=( "${FILESDIR}"/py3-support.patch )
python_compile_all() {
if use doc; then
einfo "Generation of documentation"
emake -C doc html || die "Generation of documentation failed"
fi
}
python_test() {
# "${PYTHON}" test/test_lockfile.py yeilds no informative coverage output
nosetests || die "test_lockfile failed under ${EPYTHON}"
}
python_install_all() {
use doc && local HTML_DOCS=( doc/.build/html/. )
distutils-r1_python_install_all
}

View File

@ -1,44 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/lockfile/lockfile-0.9.1.ebuild,v 1.6 2012/06/09 08:17:55 vapier Exp $
EAPI="3"
PYTHON_DEPEND="2:2.5"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="2.4 3.*"
inherit distutils
DESCRIPTION="Platform-independent file locking module"
HOMEPAGE="http://code.google.com/p/pylockfile/ http://pypi.python.org/pypi/lockfile http://smontanaro.dyndns.org/python/"
SRC_URI="http://pylockfile.googlecode.com/files/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm ppc x86"
IUSE="doc"
DEPEND="doc? ( dev-python/sphinx )"
RDEPEND=""
DOCS="ACKS README RELEASE-NOTES"
src_compile() {
distutils_src_compile
if use doc; then
einfo "Generation of documentation"
cd doc
emake html || die "Generation of documentation failed"
fi
}
src_install() {
distutils_src_install
if use doc; then
cd doc/.build/html
docinto html
cp -R [a-z]* _static "${ED}usr/share/doc/${PF}/html" || die "Installation of documentation failed"
fi
}

View File

@ -1,8 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>python</herd>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<upstream>
<remote-id type="google-code">pylockfile</remote-id>
<remote-id type="pypi">lockfile</remote-id>
<remote-id type="launchpad">pylockfile</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,14 @@
DEFINED_PHASES=compile configure install prepare test
DEPEND=>dev-python/pbr-0.7[python_targets_pypy(-)?,python_targets_pypy3(-)?,python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] doc? ( dev-python/sphinx[python_targets_pypy(-)?,python_targets_pypy3(-)?,python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] ) test? ( dev-python/nose[python_targets_pypy(-)?,python_targets_pypy3(-)?,python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] ) python_targets_pypy? ( >=virtual/pypy-5:0=[threads(+)] ) python_targets_pypy3? ( >=virtual/pypy3-5:0=[threads(+)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[threads(+)] ) python_targets_python3_4? ( dev-lang/python:3.4[threads(+)] ) python_targets_python3_5? ( dev-lang/python:3.5[threads(+)] ) python_targets_python3_6? ( dev-lang/python:3.6[threads(+)] ) >=dev-lang/python-exec-2:=[python_targets_pypy(-)?,python_targets_pypy3(-)?,python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)]
DESCRIPTION=Platform-independent file locking module
EAPI=5
HOMEPAGE=https://launchpad.net/pylockfile https://pypi.python.org/pypi/lockfile
IUSE=doc test python_targets_pypy python_targets_pypy3 python_targets_python2_7 python_targets_python3_4 python_targets_python3_5 python_targets_python3_6
KEYWORDS=alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86
LICENSE=MIT
RDEPEND=python_targets_pypy? ( >=virtual/pypy-5:0=[threads(+)] ) python_targets_pypy3? ( >=virtual/pypy3-5:0=[threads(+)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[threads(+)] ) python_targets_python3_4? ( dev-lang/python:3.4[threads(+)] ) python_targets_python3_5? ( dev-lang/python:3.5[threads(+)] ) python_targets_python3_6? ( dev-lang/python:3.6[threads(+)] ) >=dev-lang/python-exec-2:=[python_targets_pypy(-)?,python_targets_pypy3(-)?,python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)]
REQUIRED_USE=|| ( python_targets_pypy python_targets_pypy3 python_targets_python2_7 python_targets_python3_4 python_targets_python3_5 python_targets_python3_6 )
SLOT=0
SRC_URI=mirror://pypi/l/lockfile/lockfile-0.11.0.tar.gz
_eclasses_=distutils-r1 039ba10839816478cfb070fdeb053906 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea ltprune 2770eed66a9b8ef944714cd0e968182e multibuild 72647e255187a1fadc81097b3657e5c3 multilib 0236be304ee52e7f179ed2f337075515 multiprocessing 284a473719153462f3e974d86c8cb81c python-r1 0c067f080a047742ffac024b16895b45 python-utils-r1 c11fc374357e6ad9ddfe2e9f931e4d29 toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee xdg-utils b9389dfad0ee8f8e0b2a41b79fcf7120
_md5_=86de4fa679539d53c0c44d3fce252511

View File

@ -0,0 +1,14 @@
DEFINED_PHASES=compile configure install prepare test
DEPEND=>dev-python/pbr-1.8[python_targets_pypy(-)?,python_targets_pypy3(-)?,python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] doc? ( dev-python/sphinx[python_targets_pypy(-)?,python_targets_pypy3(-)?,python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] ) test? ( dev-python/nose[python_targets_pypy(-)?,python_targets_pypy3(-)?,python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] ) python_targets_pypy? ( >=virtual/pypy-5:0=[threads(+)] ) python_targets_pypy3? ( >=virtual/pypy3-5:0=[threads(+)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[threads(+)] ) python_targets_python3_4? ( dev-lang/python:3.4[threads(+)] ) python_targets_python3_5? ( dev-lang/python:3.5[threads(+)] ) python_targets_python3_6? ( dev-lang/python:3.6[threads(+)] ) >=dev-lang/python-exec-2:=[python_targets_pypy(-)?,python_targets_pypy3(-)?,python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)]
DESCRIPTION=Platform-independent file locking module
EAPI=5
HOMEPAGE=https://launchpad.net/pylockfile https://pypi.python.org/pypi/lockfile
IUSE=doc test python_targets_pypy python_targets_pypy3 python_targets_python2_7 python_targets_python3_4 python_targets_python3_5 python_targets_python3_6
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86
LICENSE=MIT
RDEPEND=python_targets_pypy? ( >=virtual/pypy-5:0=[threads(+)] ) python_targets_pypy3? ( >=virtual/pypy3-5:0=[threads(+)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[threads(+)] ) python_targets_python3_4? ( dev-lang/python:3.4[threads(+)] ) python_targets_python3_5? ( dev-lang/python:3.5[threads(+)] ) python_targets_python3_6? ( dev-lang/python:3.6[threads(+)] ) >=dev-lang/python-exec-2:=[python_targets_pypy(-)?,python_targets_pypy3(-)?,python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)]
REQUIRED_USE=|| ( python_targets_pypy python_targets_pypy3 python_targets_python2_7 python_targets_python3_4 python_targets_python3_5 python_targets_python3_6 )
SLOT=0
SRC_URI=mirror://pypi/l/lockfile/lockfile-0.12.2.tar.gz
_eclasses_=distutils-r1 039ba10839816478cfb070fdeb053906 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea ltprune 2770eed66a9b8ef944714cd0e968182e multibuild 72647e255187a1fadc81097b3657e5c3 multilib 0236be304ee52e7f179ed2f337075515 multiprocessing 284a473719153462f3e974d86c8cb81c python-r1 0c067f080a047742ffac024b16895b45 python-utils-r1 c11fc374357e6ad9ddfe2e9f931e4d29 toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee xdg-utils b9389dfad0ee8f8e0b2a41b79fcf7120
_md5_=4538e806b4fc34c318cde3418420ce71

View File

@ -1,13 +0,0 @@
DEFINED_PHASES=compile install postinst postrm prepare
DEPEND=doc? ( dev-python/sphinx ) || ( =dev-lang/python-2.7* =dev-lang/python-2.6* =dev-lang/python-2.5* )
DESCRIPTION=Platform-independent file locking module
EAPI=3
HOMEPAGE=http://code.google.com/p/pylockfile/ http://pypi.python.org/pypi/lockfile http://smontanaro.dyndns.org/python/
IUSE=doc
KEYWORDS=~amd64 ~arm ~ppc ~x86
LICENSE=MIT
RDEPEND=|| ( =dev-lang/python-2.7* =dev-lang/python-2.6* =dev-lang/python-2.5* )
SLOT=0
SRC_URI=http://pylockfile.googlecode.com/files/lockfile-0.8.tar.gz
_eclasses_=distutils ad9e4720eb3e69090dd968b152fc611b multilib 165fc17c38d1b11dac2008280dab6e80 python efc1c55fc44c5b7272fc2ffba73c3e6f toolchain-funcs 1b1da0c45c555989dc5d832b54880783
_md5_=416b8d17e6113091264e091bbf8c4f04

View File

@ -1,13 +0,0 @@
DEFINED_PHASES=compile install postinst postrm prepare
DEPEND=doc? ( dev-python/sphinx ) || ( =dev-lang/python-2.7* =dev-lang/python-2.6* =dev-lang/python-2.5* )
DESCRIPTION=Platform-independent file locking module
EAPI=3
HOMEPAGE=http://code.google.com/p/pylockfile/ http://pypi.python.org/pypi/lockfile http://smontanaro.dyndns.org/python/
IUSE=doc
KEYWORDS=amd64 arm ppc x86
LICENSE=MIT
RDEPEND=|| ( =dev-lang/python-2.7* =dev-lang/python-2.6* =dev-lang/python-2.5* )
SLOT=0
SRC_URI=http://pylockfile.googlecode.com/files/lockfile-0.9.1.tar.gz
_eclasses_=distutils ad9e4720eb3e69090dd968b152fc611b multilib 165fc17c38d1b11dac2008280dab6e80 python efc1c55fc44c5b7272fc2ffba73c3e6f toolchain-funcs 1b1da0c45c555989dc5d832b54880783
_md5_=c48717fa0740714f8d7bc3586bc21ede

View File

@ -1,14 +0,0 @@
DEFINED_PHASES=compile configure install prepare test
DEPEND=doc? ( dev-python/sphinx[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) test? ( dev-python/nose[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
DESCRIPTION=Platform-independent file locking module
EAPI=5
HOMEPAGE=http://code.google.com/p/pylockfile/ http://pypi.python.org/pypi/lockfile http://smontanaro.dyndns.org/python/
IUSE=doc test python_targets_python2_7
KEYWORDS=amd64 ~arm ~ppc x86
LICENSE=MIT
RDEPEND=python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
REQUIRED_USE=|| ( python_targets_python2_7 )
SLOT=0
SRC_URI=http://pylockfile.googlecode.com/files/lockfile-0.9.1.tar.gz
_eclasses_=distutils-r1 f1707af2d2ad4cf700a9e690de6ed855 eutils ea170b525f6a38a006be05c9d9429f13 multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 165fc17c38d1b11dac2008280dab6e80 multiprocessing eb9be4b678c4e71f3f530a767df31912 python-r1 dcd61d7a5c283f18cfe763552b09eb88 python-utils-r1 d275302cd06aedef2ba08f81f3104206 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 xdg-utils e2b2bd56125ce8cf59ce30c642b59d48
_md5_=d12cf146493cf8bf8167efca2cfca808