Skip to content

Commit

Permalink
py-axiom: update to version 0.7.1, build deps, python2 only, no longe…
Browse files Browse the repository at this point in the history
…r supports python25.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@118175 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
dbevans committed Mar 24, 2014
1 parent e16e5ff commit 88f335b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
20 changes: 9 additions & 11 deletions python/py-axiom/Portfile
Expand Up @@ -6,8 +6,7 @@ PortGroup python 1.0

name py-axiom
set gname python-axiom
version 0.6.0
revision 1
version 0.7.1
license MIT
categories-append databases
platforms darwin
Expand All @@ -24,27 +23,26 @@ long_description ${description} \
message dispatch, without hindering the power of an RDBMS \
(Relational DataBase Management System).

homepage http://packages.debian.org/squeeze/python/python-axiom
homepage https://pypi.python.org/pypi/Axiom
master_sites debian:p/${gname}

distname ${gname}_${version}.orig

checksums sha1 b7f11cadcedc755276120469f141e02a13149914 \
sha256 0c3e5586c91df966f2c1b2031db870ee6b73bdd0517f9a7dab764ef0943e548c
checksums rmd160 97982b7287320bd785114c246bc14f594bda4ea7 \
sha256 1036ee3cdf8ce7f20f845f80a25334c84b021838cc373e88ce564e4f2a413db9

worksrcdir Axiom-${version}

python.default_version 27
python.versions 25 26 27
python.versions 26 27


if {${name} ne ${subport}} {
depends_lib-append port:py${python.version}-epsilon \
port:py${python.version}-sqlite
depends_build-append port:py${python.version}-setuptools
depends_lib-append port:py${python.version}-epsilon \
port:py${python.version}-sqlite

if {${python.version} > 25} {
patchfiles-append patch-python26.diff
}
patchfiles-append patch-python26.diff

post-destroot {
set filepath ${destroot}${python.libdir}/site-packages/twisted/plugins/dropin.cache
Expand Down
6 changes: 3 additions & 3 deletions python/py-axiom/files/patch-python26.diff
@@ -1,6 +1,6 @@
--- axiom/item.py.orig 2010-01-14 14:42:26.000000000 +0100
+++ axiom/item.py 2010-01-14 14:42:58.000000000 +0100
@@ -101,6 +101,36 @@
--- axiom/item.py.orig 2014-03-22 11:58:28.000000000 -0700
+++ axiom/item.py 2014-03-23 18:01:13.000000000 -0700
@@ -100,6 +100,36 @@
(other.typeName, other.schemaVersion))
return NotImplemented

Expand Down

0 comments on commit 88f335b

Please sign in to comment.