* [gentoo-commits] proj/gentoopm:master commit in: /
@ 2011-07-06 22:04 Michał Górny
0 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2011-07-06 22:04 UTC (permalink / raw
To: gentoo-commits
commit: f2b61c7f40105cb16a1a6dd4791a60eb2e872521
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 6 22:03:59 2011 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jul 6 22:03:59 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoopm.git;a=commit;h=f2b61c7f
Start writing down API requirements for potential consumers.
---
API-REQUIREMENTS | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/API-REQUIREMENTS b/API-REQUIREMENTS
new file mode 100644
index 0000000..eeee4d9
--- /dev/null
+++ b/API-REQUIREMENTS
@@ -0,0 +1,19 @@
+diffmask:
+- atom matching,
+- masking status/reason,
+- USER_CONFIG_PATH?
+
+flaggie:
+- atom matching,
+- getting all atoms from LICENSE (use_reduce()),
+- grabdict()/grabfile()?,
+- USER_CONFIG_PATH?
+
+pms-test-suite:
+- atom matching (__contains__()),
+- install, uninstall, manifest...
+
+smart-live-rebuild:
+- userpriv checks, uid/gid,
+- environment.bz2 parsing,
+- getting atoms; maybe install cmdline?
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/gentoopm:master commit in: /
@ 2011-07-07 19:55 Michał Górny
0 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2011-07-07 19:55 UTC (permalink / raw
To: gentoo-commits
commit: 63215c0abd4d511744428c3df7ae36790a9ee1fc
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 7 19:56:26 2011 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jul 7 19:56:26 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoopm.git;a=commit;h=63215c0a
Update API reqs.
---
API-REQUIREMENTS | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/API-REQUIREMENTS b/API-REQUIREMENTS
index eeee4d9..bc70c85 100644
--- a/API-REQUIREMENTS
+++ b/API-REQUIREMENTS
@@ -1,16 +1,13 @@
diffmask:
-- atom matching,
- masking status/reason,
- USER_CONFIG_PATH?
flaggie:
-- atom matching,
- getting all atoms from LICENSE (use_reduce()),
- grabdict()/grabfile()?,
- USER_CONFIG_PATH?
pms-test-suite:
-- atom matching (__contains__()),
- install, uninstall, manifest...
smart-live-rebuild:
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/gentoopm:master commit in: /
@ 2011-07-10 12:34 Michał Górny
0 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2011-07-10 12:34 UTC (permalink / raw
To: gentoo-commits
commit: fdfedf87e650dd66ecb16388eb5b2ed903f17b68
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 10 09:03:41 2011 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jul 10 09:03:41 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoopm.git;a=commit;h=fdfedf87
Support creating docs with epydoc.
---
.gitignore | 1 +
setup.py | 18 +++++++++++++++++-
2 files changed, 18 insertions(+), 1 deletions(-)
diff --git a/.gitignore b/.gitignore
index 31f264e..14d8e49 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/MANIFEST
/build
/dist
+/doc
diff --git a/setup.py b/setup.py
index a0c2980..6cb2b85 100755
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@
from distutils.core import setup, Command
-import os.path, sys
+import os.path, subprocess, sys
sys.path.insert(0, os.path.dirname(__file__))
try:
@@ -13,6 +13,21 @@ try:
except ImportError:
PV = 'unknown'
+class DocCommand(Command):
+ description = 'create HTML docs'
+ user_options = []
+
+ def initialize_options(self):
+ pass
+
+ def finalize_options(self):
+ pass
+
+ def run(self):
+ print('Creating API docs')
+ subprocess.check_call(['epydoc', '--verbose', '--html',
+ '--output', 'doc', 'gentoopm'])
+
class TestCommand(Command):
description = 'run tests'
user_options = []
@@ -61,6 +76,7 @@ setup(
],
cmdclass = {
+ 'doc': DocCommand,
'test': TestCommand
}
)
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/gentoopm:master commit in: /
@ 2011-07-11 9:40 Michał Górny
0 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2011-07-11 9:40 UTC (permalink / raw
To: gentoo-commits
commit: d3bbea16d55df06ba228c14979cbb1c1e91f9aff
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 11 09:40:58 2011 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jul 11 09:40:58 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoopm.git;a=commit;h=d3bbea16
Update apireqs.
---
API-REQUIREMENTS | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/API-REQUIREMENTS b/API-REQUIREMENTS
index bc70c85..dd80100 100644
--- a/API-REQUIREMENTS
+++ b/API-REQUIREMENTS
@@ -12,5 +12,4 @@ pms-test-suite:
smart-live-rebuild:
- userpriv checks, uid/gid,
-- environment.bz2 parsing,
- getting atoms; maybe install cmdline?
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/gentoopm:master commit in: /
@ 2011-07-13 16:26 Michał Górny
0 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2011-07-13 16:26 UTC (permalink / raw
To: gentoo-commits
commit: d9e7c14455287a05b58f047db1d79a68da671617
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 13 16:27:12 2011 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jul 13 16:27:12 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoopm.git;a=commit;h=d9e7c144
Update package list and devel status.
---
setup.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/setup.py b/setup.py
index 6cb2b85..01f5366 100755
--- a/setup.py
+++ b/setup.py
@@ -57,6 +57,7 @@ setup(
packages = [
'gentoopm',
'gentoopm.basepm',
+ 'gentoopm.bash',
'gentoopm.paludispm',
'gentoopm.pkgcorepm',
'gentoopm.portagepm'
@@ -66,7 +67,7 @@ setup(
],
classifiers = [
- 'Development Status :: 1 - Planning',
+ 'Development Status :: 2 - Pre-Alpha',
'Environment :: Console',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: BSD License',
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/gentoopm:master commit in: /
@ 2011-07-14 14:36 Michał Górny
0 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2011-07-14 14:36 UTC (permalink / raw
To: gentoo-commits
commit: ab69e7c56ffa15a7d490f5d4d2244e5dc08d9353
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 14 14:37:45 2011 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jul 14 14:37:45 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoopm.git;a=commit;h=ab69e7c5
Update apireqs.
---
API-REQUIREMENTS | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/API-REQUIREMENTS b/API-REQUIREMENTS
index dd80100..dbb1b88 100644
--- a/API-REQUIREMENTS
+++ b/API-REQUIREMENTS
@@ -11,5 +11,4 @@ pms-test-suite:
- install, uninstall, manifest...
smart-live-rebuild:
-- userpriv checks, uid/gid,
-- getting atoms; maybe install cmdline?
+- install (cmdline)
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/gentoopm:master commit in: /
@ 2011-07-22 13:16 Michał Górny
0 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2011-07-22 13:16 UTC (permalink / raw
To: gentoo-commits
commit: 9fc1866700efb858edb1a8b8c828a95b9f6084b9
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 22 13:16:21 2011 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jul 22 13:16:42 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoopm.git;a=commit;h=9fc18667
Merge branch 'gentoopm-0.1.3'
gentoopm/__init__.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
^ permalink raw reply [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/gentoopm:master commit in: /
@ 2011-08-13 10:31 Michał Górny
0 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2011-08-13 10:31 UTC (permalink / raw
To: gentoo-commits
commit: 3ba3c638a7dd9c43679fd2b6d7cb2288e76e54ce
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 13 10:18:46 2011 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Aug 13 10:20:29 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoopm.git;a=commit;h=3ba3c638
Bump development status.
---
setup.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/setup.py b/setup.py
index 20a178d..0f34a13 100755
--- a/setup.py
+++ b/setup.py
@@ -83,9 +83,9 @@ setup(
scripts = [
'gentoopmq'
],
-
+
classifiers = [
- 'Development Status :: 3 - Alpha',
+ 'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: BSD License',
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/gentoopm:master commit in: /
@ 2011-08-13 10:58 Michał Górny
0 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2011-08-13 10:58 UTC (permalink / raw
To: gentoo-commits
commit: b9fb58a462d27fdf4e66d6d5b88c8ad9697df1b1
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 12 21:22:13 2011 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Aug 12 21:22:13 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoopm.git;a=commit;h=b9fb58a4
Merge branch 'master' into 0.2.x
Conflicts:
gentoopm/basepm/metadata.py
gentoopm/basepm/pkg.py
gentoopm/paludispm/pkg.py
gentoopm/pkgcorepm/pkg.py
gentoopm/portagepm/pkg.py
gentoopm/__init__.py | 6 ++--
gentoopm/basepm/__init__.py | 14 +++++++-
gentoopm/basepm/atom.py | 2 +-
gentoopm/basepm/config.py | 2 +-
gentoopm/basepm/contents.py | 2 +-
gentoopm/basepm/depend.py | 2 +-
gentoopm/basepm/environ.py | 2 +-
gentoopm/basepm/filter.py | 65 +++++++++++++++++++++++++++++++++++++++-
gentoopm/basepm/pkg.py | 13 +++-----
gentoopm/basepm/pkgset.py | 20 ++++++++----
gentoopm/basepm/repo.py | 5 ++-
gentoopm/basepm/stack.py | 4 +-
gentoopm/bash/__init__.py | 2 +-
gentoopm/bash/bashserver.py | 5 ++-
gentoopm/filters.py | 20 ++++++++++++
gentoopm/matchers.py | 44 +++++++++++++++++++++++++++
gentoopm/paludispm/__init__.py | 14 +++++---
gentoopm/paludispm/atom.py | 4 +-
gentoopm/paludispm/config.py | 2 +-
gentoopm/paludispm/contents.py | 3 +-
gentoopm/paludispm/depend.py | 5 ++-
gentoopm/paludispm/pkg.py | 14 ++++----
gentoopm/paludispm/pkgset.py | 7 ++--
gentoopm/paludispm/repo.py | 10 +++---
gentoopm/pkgcorepm/__init__.py | 15 ++++++---
gentoopm/pkgcorepm/atom.py | 4 +-
gentoopm/pkgcorepm/config.py | 2 +-
gentoopm/pkgcorepm/contents.py | 2 +-
gentoopm/pkgcorepm/depend.py | 5 ++-
gentoopm/pkgcorepm/filter.py | 4 +-
gentoopm/pkgcorepm/pkg.py | 13 ++++----
gentoopm/pkgcorepm/repo.py | 9 +++--
gentoopm/portagepm/__init__.py | 15 ++++++---
gentoopm/portagepm/atom.py | 4 +-
gentoopm/portagepm/config.py | 2 +-
gentoopm/portagepm/contents.py | 3 +-
gentoopm/portagepm/depend.py | 2 +-
gentoopm/portagepm/pkg.py | 15 +++++----
gentoopm/portagepm/repo.py | 19 ++++++++----
gentoopm/querycli.py | 30 +++++++++++++++++-
gentoopm/submodules.py | 8 ++--
gentoopm/tests/atom.py | 5 ++-
gentoopm/tests/config.py | 2 +-
gentoopm/tests/pkg.py | 2 +-
gentoopm/tests/psets.py | 7 ++--
gentoopm/tests/repo.py | 2 +-
46 files changed, 316 insertions(+), 121 deletions(-)
diff --cc gentoopm/basepm/pkg.py
index da0a346,4a17335..a0bf73b
--- a/gentoopm/basepm/pkg.py
+++ b/gentoopm/basepm/pkg.py
@@@ -137,11 -136,29 +137,8 @@@ class PMPackage(PMAtom, FillMissingComp
else:
raise ValueError('Incorrect positional argument: %s' % f)
- for k, m in kwargs.items():
- raise KeyError('Unmatched keyword argument: %s' % k)
-
return True
- @property
- def id(self):
- """
- An unique identifier for the package.
-
- @type: hashable
- @deprecated: use the package itself or its C{hash()} instead
- """
- return self
-
- @property
- def atom(self):
- """
- Return an atom matching the package uniquely.
-
- @type: L{PMAtom}
- @deprecated: the package is now a subclass of L{PMAtom}
- and can be used directly as an atom
- """
- return self
-
@abstractproperty
def path(self):
"""
diff --cc gentoopm/paludispm/pkg.py
index 8f9ba80,a3a988c..784be26
--- a/gentoopm/paludispm/pkg.py
+++ b/gentoopm/paludispm/pkg.py
@@@ -5,15 -5,16 +5,15 @@@
import paludis
- from gentoopm.basepm.depend import PMRequiredUseAtom
- from gentoopm.basepm.pkg import PMPackage, PMPackageDescription, \
+ from ..basepm.depend import PMRequiredUseAtom
-from ..basepm.metadata import PMPackageMetadata
+ from ..basepm.pkg import PMPackage, PMPackageDescription, \
PMInstallablePackage, PMInstalledPackage, PMBoundPackageKey, \
PMPackageState, PMUseFlag
- from gentoopm.paludispm.atom import PaludisAtom, \
- PaludisPackageKey, PaludisPackageVersion
- from gentoopm.paludispm.contents import PaludisPackageContents
- from gentoopm.paludispm.depend import PaludisPackageDepSet
- from gentoopm.util import SpaceSepFrozenSet, SpaceSepTuple
+ from ..util import SpaceSepFrozenSet, SpaceSepTuple
+
+ from .atom import PaludisAtom, PaludisPackageKey, PaludisPackageVersion
+ from .contents import PaludisPackageContents
+ from .depend import PaludisPackageDepSet
class PaludisBoundPackageKey(PaludisPackageKey, PMBoundPackageKey):
def __init__(self, key, pkg):
diff --cc gentoopm/pkgcorepm/pkg.py
index 00a2c1f,adc0c6d..8a1fcbf
--- a/gentoopm/pkgcorepm/pkg.py
+++ b/gentoopm/pkgcorepm/pkg.py
@@@ -3,14 -3,16 +3,15 @@@
# (c) 2011 Michał Górny <mgorny@gentoo.org>
# Released under the terms of the 2-clause BSD license.
- from gentoopm.basepm.pkg import PMPackage, PMPackageDescription, \
-from ..basepm.metadata import PMPackageMetadata
+ from ..basepm.pkg import PMPackage, PMPackageDescription, \
PMInstalledPackage, PMInstallablePackage, PMBoundPackageKey, \
PMPackageState, PMUseFlag
- from gentoopm.basepm.pkgset import PMPackageSet, PMFilteredPackageSet
- from gentoopm.pkgcorepm.atom import PkgCoreAtom, PkgCorePackageKey
- from gentoopm.pkgcorepm.contents import PkgCorePackageContents
- from gentoopm.pkgcorepm.depend import PkgCorePackageDepSet
- from gentoopm.util import SpaceSepTuple, SpaceSepFrozenSet
+ from ..basepm.pkgset import PMPackageSet, PMFilteredPackageSet
+ from ..util import SpaceSepTuple, SpaceSepFrozenSet
+
+ from .atom import PkgCoreAtom, PkgCorePackageKey
+ from .contents import PkgCorePackageContents
+ from .depend import PkgCorePackageDepSet
class PkgCorePackageSet(PMPackageSet):
def filter(self, *args, **kwargs):
diff --cc gentoopm/portagepm/pkg.py
index a0a6746,5992ae2..8f73ea0
--- a/gentoopm/portagepm/pkg.py
+++ b/gentoopm/portagepm/pkg.py
@@@ -5,16 -5,18 +5,17 @@@
from portage.versions import cpv_getkey, cpv_getversion, vercmp
- from gentoopm.basepm.depend import PMRequiredUseAtom
- from gentoopm.basepm.pkg import PMPackage, PMPackageDescription, \
+ from ..basepm.depend import PMRequiredUseAtom
-from ..basepm.metadata import PMPackageMetadata
+ from ..basepm.pkg import PMPackage, PMPackageDescription, \
PMInstalledPackage, PMInstallablePackage, PMBoundPackageKey, \
PMPackageState, PMUseFlag
- from gentoopm.basepm.pkgset import PMPackageSet, PMFilteredPackageSet
- from gentoopm.portagepm.atom import PortageAtom, CompletePortageAtom, \
+ from ..basepm.pkgset import PMPackageSet, PMFilteredPackageSet
+ from ..util import SpaceSepTuple, SpaceSepFrozenSet
+
+ from .atom import PortageAtom, CompletePortageAtom, \
PortagePackageKey, PortagePackageVersion, _get_atom
- from gentoopm.portagepm.contents import PortagePackageContents
- from gentoopm.portagepm.depend import PortagePackageDepSet
- from gentoopm.util import SpaceSepTuple, SpaceSepFrozenSet
+ from .contents import PortagePackageContents
+ from .depend import PortagePackageDepSet
class PortagePackageSet(PMPackageSet):
def filter(self, *args, **kwargs):
^ permalink raw reply [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/gentoopm:master commit in: /
@ 2011-08-13 10:58 Michał Górny
0 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2011-08-13 10:58 UTC (permalink / raw
To: gentoo-commits
commit: 156b87415489d41751b3666733418765b6209733
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 13 10:33:13 2011 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Aug 13 10:33:13 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoopm.git;a=commit;h=156b8741
Merge branch 'master' into 0.2.x
gentoopm/__init__.py | 2 +-
gentoopm/basepm/filter.py | 5 ++---
gentoopm/basepm/pkgset.py | 4 +++-
gentoopm/paludispm/pkg.py | 5 +++--
gentoopm/portagepm/pkg.py | 12 ++++++------
gentoopm/querycli.py | 16 ++++++++++++++--
setup.py | 4 ++--
7 files changed, 31 insertions(+), 17 deletions(-)
^ permalink raw reply [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/gentoopm:master commit in: /
2011-08-13 10:57 [gentoo-commits] proj/gentoopm:gentoopm-0.2 " Michał Górny
@ 2011-08-13 10:58 ` Michał Górny
0 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2011-08-13 10:58 UTC (permalink / raw
To: gentoo-commits
commit: 82ca014365940369148c31611d8977e66af9e9fc
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 13 10:58:56 2011 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Aug 13 10:58:56 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoopm.git;a=commit;h=82ca0143
Merge branch 'master' into 0.2.x
gentoopm/paludispm/pkg.py | 5 ++---
gentoopm/portagepm/pkg.py | 7 +++----
2 files changed, 5 insertions(+), 7 deletions(-)
^ permalink raw reply [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/gentoopm:master commit in: /
@ 2011-09-09 21:13 Michał Górny
0 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2011-09-09 21:13 UTC (permalink / raw
To: gentoo-commits
commit: 791c17259227c0f9c39155dc7176297ea1b0c7ea
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 23 21:24:15 2011 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Aug 23 21:24:15 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoopm.git;a=commit;h=791c1725
Fill in the actual name in COPYING.
---
COPYING | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/COPYING b/COPYING
index a995d54..1632652 100644
--- a/COPYING
+++ b/COPYING
@@ -1,4 +1,4 @@
-Copyright (c) <YEAR>, <OWNER>
+Copyright (c) 2011, Michał Górny
All rights reserved.
Redistribution and use in source and binary forms, with or without
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/gentoopm:master commit in: /
@ 2012-10-28 10:33 Michał Górny
0 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2012-10-28 10:33 UTC (permalink / raw
To: gentoo-commits
commit: f46c4057d76000ae020a57a4d5f19a9c4a93c113
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 28 10:33:52 2012 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Oct 28 10:33:52 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoopm.git;a=commit;h=f46c4057
setup.py test: respect build_lib.
---
setup.py | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/setup.py b/setup.py
index 0f34a13..ddb119d 100755
--- a/setup.py
+++ b/setup.py
@@ -33,12 +33,16 @@ class TestCommand(Command):
user_options = []
def initialize_options(self):
- pass
+ self.build_base = None
+ self.build_lib = None
def finalize_options(self):
- pass
+ self.set_undefined_options('build',
+ ('build_lib', 'build_lib'))
def run(self):
+ sys.path.insert(0, self.build_lib)
+
import unittest
import gentoopm.submodules, gentoopm.tests
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/gentoopm:master commit in: /
@ 2012-10-28 15:24 Michał Górny
0 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2012-10-28 15:24 UTC (permalink / raw
To: gentoo-commits
commit: 975fd2dde556125ce11bf08085ebd8d9187b8ff3
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 28 15:25:34 2012 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Oct 28 15:25:34 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoopm.git;a=commit;h=975fd2dd
setup.py test: reload gentoopm to respect build-dir more.
---
setup.py | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/setup.py b/setup.py
index ddb119d..00ff536 100755
--- a/setup.py
+++ b/setup.py
@@ -43,6 +43,12 @@ class TestCommand(Command):
def run(self):
sys.path.insert(0, self.build_lib)
+ try:
+ from imp import reload
+ except ImportError:
+ pass
+ reload(sys.modules['gentoopm'])
+
import unittest
import gentoopm.submodules, gentoopm.tests
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/gentoopm:master commit in: /
@ 2013-02-16 16:16 Michał Górny
0 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2013-02-16 16:16 UTC (permalink / raw
To: gentoo-commits
commit: b30868d68c220ca7e1b6466be5391ff1b2c59846
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 16 16:16:11 2013 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb 16 16:16:52 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoopm.git;a=commit;h=b30868d6
Tests: skip PMs which fail to load.
For example, pkgcore fails when EAPI=5 profile is used. This doesn't
help Paludis which checks profiles later.
---
setup.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/setup.py b/setup.py
index 00ff536..61b6ff9 100755
--- a/setup.py
+++ b/setup.py
@@ -59,6 +59,8 @@ class TestCommand(Command):
pm_inst = gentoopm.submodules.get_pm(pm)
except ImportError:
print('%s not available, skipping tests.' % pm)
+ except Exception as e:
+ print('Unable to use %s: %s' % (pm, e))
else:
l = gentoopm.tests.PMTestLoader(pm_inst)
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] proj/gentoopm:master commit in: /
@ 2015-08-05 21:32 Michał Górny
0 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2015-08-05 21:32 UTC (permalink / raw
To: gentoo-commits
commit: ca727599c9b36aae1aebbe3a6a8d88fb40663662
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 5 21:16:39 2015 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Aug 5 21:16:39 2015 +0000
URL: https://gitweb.gentoo.org/proj/gentoopm.git/commit/?id=ca727599
setup.py test: Run 'build' before tests
setup.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/setup.py b/setup.py
index 61b6ff9..8f987a4 100755
--- a/setup.py
+++ b/setup.py
@@ -41,6 +41,7 @@ class TestCommand(Command):
('build_lib', 'build_lib'))
def run(self):
+ self.run_command('build_py')
sys.path.insert(0, self.build_lib)
try:
^ permalink raw reply related [flat|nested] 16+ messages in thread
end of thread, other threads:[~2015-08-05 21:32 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-07 19:55 [gentoo-commits] proj/gentoopm:master commit in: / Michał Górny
-- strict thread matches above, loose matches on Subject: below --
2015-08-05 21:32 Michał Górny
2013-02-16 16:16 Michał Górny
2012-10-28 15:24 Michał Górny
2012-10-28 10:33 Michał Górny
2011-09-09 21:13 Michał Górny
2011-08-13 10:58 Michał Górny
2011-08-13 10:58 Michał Górny
2011-08-13 10:57 [gentoo-commits] proj/gentoopm:gentoopm-0.2 " Michał Górny
2011-08-13 10:58 ` [gentoo-commits] proj/gentoopm:master " Michał Górny
2011-08-13 10:31 Michał Górny
2011-07-22 13:16 Michał Górny
2011-07-14 14:36 Michał Górny
2011-07-13 16:26 Michał Górny
2011-07-11 9:40 Michał Górny
2011-07-10 12:34 Michał Górny
2011-07-06 22:04 Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox