python/python-pypolicyd-spf: Renamed python2-pypolicyd-spf.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dave Woodfall 2021-05-14 21:34:41 +01:00 committed by Willy Sudiarto Raharjo
parent 24b8c9b274
commit ce029a4c46
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
6 changed files with 24 additions and 24 deletions

View File

@ -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:

View File

@ -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

View File

@ -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"

View File

@ -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: