Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (f83836ff1529335d0150cb9b68333586548e57ef)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Treeve Jelbert <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (f83836ff1529335d0150cb9b68333586548e57ef)
  • Date: Thu, 23 Feb 2012 09:00:05 -0600

GIT changes to master grimoire by Treeve Jelbert <treeve AT sourcemage.org>:

ChangeLog | 4 ++++
python-pypi/FUNCTIONS | 12 ++++++++++--
python-pypi/PY_DEPENDS | 5 +++++
python-pypi/decorator/DETAILS | 4 ++--
python-pypi/decorator/HISTORY | 3 +++
5 files changed, 24 insertions(+), 4 deletions(-)

New commits:
commit f83836ff1529335d0150cb9b68333586548e57ef
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>

python-pypi/PY_DEPENDS: added, because Python3 already includes distutils

all references to:
depends python &&
depends SETUPTOOLS
should be replaced by:
. $SECTION_DIRECTORY/PY_DEPENDS

Spells will then allow a choice of using Python2 or Python3.

commit 385a293fd3c57871c077776c4db18e34f2467b1b
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>

python-pypi/FUNCTIONS: test whether spell depends on python2/3

commit ae6fcadc63ebbcee53cb3fc1296ac6ac247e2d23
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>

decorator: => 3.3.2

diff --git a/ChangeLog b/ChangeLog
index 3ae3aae..0fa8616 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-02-24 Treeve Jelbert <treeve AT sourcemage.org>
+ * python-pypi/FUNCTIONS: default_python_build tests for python2/3
+ * python-pypi/PY_DEPENDS: added, because python 3 already includes
distutils
+
2012-02-21 Vlad Glagolev <stealth AT sourcemage.org>
* net/libnatpmp: new spell, NAT Port Mapping Protocol (NAT-PMP)

diff --git a/python-pypi/FUNCTIONS b/python-pypi/FUNCTIONS
index 6754def..c24f1cf 100755
--- a/python-pypi/FUNCTIONS
+++ b/python-pypi/FUNCTIONS
@@ -2,12 +2,20 @@
## Section-default build script.
#-------------------------------------------------------------------------
function default_build() {
- default_build_python
+ if is_depends_enabled $SPELL python3;then
+ default_build_python3
+ else
+ default_build_python
+ fi
}

#-------------------------------------------------------------------------
## Section-default install script.
#-------------------------------------------------------------------------
function default_install() {
- default_install_python
+ if is_depends_enabled $SPELL python3;then
+ default_install_python3
+ else
+ default_install_python
+ fi
}
diff --git a/python-pypi/PY_DEPENDS b/python-pypi/PY_DEPENDS
new file mode 100755
index 0000000..cce3ac3
--- /dev/null
+++ b/python-pypi/PY_DEPENDS
@@ -0,0 +1,5 @@
+depends PYTHON &&
+# distutils is now included with python3
+if is_depends_enabled $SPELL python; then
+ depends SETUPTOOLS
+fi
diff --git a/python-pypi/decorator/DETAILS b/python-pypi/decorator/DETAILS
index eb83d02..22baacb 100755
--- a/python-pypi/decorator/DETAILS
+++ b/python-pypi/decorator/DETAILS
@@ -1,6 +1,6 @@
SPELL=decorator
- VERSION=3.3.1
-
SOURCE_HASH=sha512:edd24d41d1b626856cea29f2b5fcab402453b4f02bb80707c280cedd41605554c794f6763b35a8ab4144a54bd4a2262051426726fe04e2e0b9bb5e3d45878795
+ VERSION=3.3.2
+
SOURCE_HASH=sha512:de1832741cd22ce652bf05df0b4903ce0e17ebbe4ee9539aaf95ae5624c47651f2982d4e351e92775486c50cd25e0b98ba6436bab93accb22f4d100a56e08401
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_URL[0]=http://pypi.python.org/packages/source/d/decorator/$SOURCE
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
diff --git a/python-pypi/decorator/HISTORY b/python-pypi/decorator/HISTORY
index e6472a8..d1b0e9a 100644
--- a/python-pypi/decorator/HISTORY
+++ b/python-pypi/decorator/HISTORY
@@ -1,3 +1,6 @@
+2012-02-24 Treeve Jelbert <treeve AT sourcemage.org>
+ * DETAILS: version 3.3.2
+
2011-10-14 Bor Kraljič <pyrobor AT ver.si>
* DETAILS: fixed long description wrap (scripted)




  • [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (f83836ff1529335d0150cb9b68333586548e57ef), Treeve Jelbert, 02/23/2012

Archive powered by MHonArc 2.6.24.

Top of Page