diff --git a/python/python-pypolicyd-spf/slack-desc b/python/python-pypolicyd-spf/slack-desc deleted file mode 100644 index ea2ca52fa2..0000000000 --- a/python/python-pypolicyd-spf/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -python-pypolicyd-spf: python-pypolicyd-spf (Python Postfix SPF engine) -python-pypolicyd-spf: -python-pypolicyd-spf: PyPolicyd-SPF is a Postfix policy engine for Sender -python-pypolicyd-spf: Policy Framework (SPF) checking. It is implemented in -python-pypolicyd-spf: pure Python and uses the python-spf (pyspf) module. -python-pypolicyd-spf: -python-pypolicyd-spf: Homepage: https://launchpad.net/pypolicyd-spf/ -python-pypolicyd-spf: -python-pypolicyd-spf: -python-pypolicyd-spf: -python-pypolicyd-spf: diff --git a/python/python-pypolicyd-spf/README b/python/python2-pypolicyd-spf/README similarity index 100% rename from python/python-pypolicyd-spf/README rename to python/python2-pypolicyd-spf/README diff --git a/python/python-pypolicyd-spf/doinst.sh b/python/python2-pypolicyd-spf/doinst.sh similarity index 100% rename from python/python-pypolicyd-spf/doinst.sh rename to python/python2-pypolicyd-spf/doinst.sh diff --git a/python/python-pypolicyd-spf/python-pypolicyd-spf.SlackBuild b/python/python2-pypolicyd-spf/python2-pypolicyd-spf.SlackBuild similarity index 96% rename from python/python-pypolicyd-spf/python-pypolicyd-spf.SlackBuild rename to python/python2-pypolicyd-spf/python2-pypolicyd-spf.SlackBuild index b1cad3bfa1..fc73b30039 100644 --- a/python/python-pypolicyd-spf/python-pypolicyd-spf.SlackBuild +++ b/python/python2-pypolicyd-spf/python2-pypolicyd-spf.SlackBuild @@ -22,7 +22,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=python-pypolicyd-spf +PRGNAM=python2-pypolicyd-spf VERSION=${VERSION:-0.8.0} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} @@ -72,9 +72,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -/usr/bin/python setup.py build +/usr/bin/python2 setup.py build -/usr/bin/python setup.py install --root $PKG +/usr/bin/python2 setup.py install --root $PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/python/python-pypolicyd-spf/python-pypolicyd-spf.info b/python/python2-pypolicyd-spf/python2-pypolicyd-spf.info similarity index 83% rename from python/python-pypolicyd-spf/python-pypolicyd-spf.info rename to python/python2-pypolicyd-spf/python2-pypolicyd-spf.info index 5193d8fdcd..37bdab40fd 100644 --- a/python/python-pypolicyd-spf/python-pypolicyd-spf.info +++ b/python/python2-pypolicyd-spf/python2-pypolicyd-spf.info @@ -1,10 +1,10 @@ -PRGNAM="python-pypolicyd-spf" +PRGNAM="python2-pypolicyd-spf" VERSION="0.8.0" HOMEPAGE="https://launchpad.net/pypolicyd-spf/" DOWNLOAD="http://launchpad.net/pypolicyd-spf/0.8/0.8.0/+download/pypolicyd-spf-0.8.0.tar.gz" MD5SUM="e562394356091fb4d0f142b7e8611305" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python-pyspf" +REQUIRES="python2-pyspf" MAINTAINER="Steven King" EMAIL="kingrst@gmail.com" diff --git a/python/python2-pypolicyd-spf/slack-desc b/python/python2-pypolicyd-spf/slack-desc new file mode 100644 index 0000000000..d32afea720 --- /dev/null +++ b/python/python2-pypolicyd-spf/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python2-pypolicyd-spf: python2-pypolicyd-spf (Python Postfix SPF engine) +python2-pypolicyd-spf: +python2-pypolicyd-spf: PyPolicyd-SPF is a Postfix policy engine for Sender +python2-pypolicyd-spf: Policy Framework (SPF) checking. It is implemented in +python2-pypolicyd-spf: pure Python and uses the python2-spf (pyspf) module. +python2-pypolicyd-spf: +python2-pypolicyd-spf: Homepage: https://launchpad.net/pypolicyd-spf/ +python2-pypolicyd-spf: +python2-pypolicyd-spf: +python2-pypolicyd-spf: +python2-pypolicyd-spf: