diff options
author | biao716.wang <biao716.wang@samsung.com> | 2020-05-25 18:45:33 +0900 |
---|---|---|
committer | biao716.wang <biao716.wang@samsung.com> | 2020-05-26 14:32:08 +0900 |
commit | 8a342464dc14d254ddd609b8bab370cf1fa0788b (patch) | |
tree | 9004308621e7da85d921d92fec0a36c5e47ce62d | |
parent | da7b4b34e02365cff757840ed401ad07c533be93 (diff) | |
download | python-M2Crypto-8a342464dc14d254ddd609b8bab370cf1fa0788b.tar.gz python-M2Crypto-8a342464dc14d254ddd609b8bab370cf1fa0788b.tar.bz2 python-M2Crypto-8a342464dc14d254ddd609b8bab370cf1fa0788b.zip |
add debian for python-M2CryptoHEADaccepted/tools/devbase/tools/legacy/20240424.050656accepted/tools/devbase/tools/legacy/20240423.040715accepted/tools/devbase/tools/legacy/20240422.110834sandbox/wangbiao/py3_versionmasterdevelaccepted/tools_devbase_tools_legacy
Change-Id: Ib75b84fe9e28825869773df6e7f09dd15698a245
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
-rwxr-xr-x | debian/changelog | 5 | ||||
-rwxr-xr-x | debian/compat | 1 | ||||
-rwxr-xr-x | debian/control | 38 | ||||
-rw-r--r-- | debian/python-m2crypto.install | 1 | ||||
-rwxr-xr-x | debian/rules | 47 |
5 files changed, 92 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100755 index 0000000..706b0a9 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +python-m2crypto (0.35.1.1) unstable; urgency=medium + + * Add Debian + + -- Biao Wang <biao716.wang@samsung.com> Tue, 26 May 2020 09:42:32 +0200 diff --git a/debian/compat b/debian/compat new file mode 100755 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100755 index 0000000..ae6f694 --- /dev/null +++ b/debian/control @@ -0,0 +1,38 @@ +Source: python-m2crypto +Section: python +Priority: optional +Maintainer: Daniel Stender <stender@debian.org> +Build-Depends: + debhelper (>= 11), + python-dev, + dh-python, + libssl-dev, + python-all-dev, + python-setuptools, + swig (>= 1.3.40), + openssl +Standards-Version: 4.2.1 +Homepage: http://www.tizen.org + +Package: python-m2crypto +Architecture: any +Depends: + ${misc:Depends}, + ${python:Depends}, + ${shlibs:Depends} +Provides: + m2crypto, + ${python:Provides} +Description: Python wrapper for the OpenSSL library (Python 2 modules) + m2crypto features the following: + * RSA, DSA, DH, HMACs, message digests, symmetric ciphers (including AES). + * SSL functionality to implement clients and servers. + * HTTPS extensions to Python's httplib, urllib, and xmlrpclib. + * Unforgeable HMAC'ing AuthCookies for web session management. + * FTP/TLS client and server. + * S/MIME. + * ZServerSSL: A HTTPS server for Zope. + * ZSmime: An S/MIME messenger for Zope. + . + This package contains the modules for the Python 2 interpreter. + diff --git a/debian/python-m2crypto.install b/debian/python-m2crypto.install new file mode 100644 index 0000000..41589af --- /dev/null +++ b/debian/python-m2crypto.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/* /usr/lib diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..0fa0995 --- /dev/null +++ b/debian/rules @@ -0,0 +1,47 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +build: build-stamp +build-stamp: + dh_testdir + python setup.py build +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Installing package + mkdir -p $(CURDIR)/debian/tmp + python setup.py install --prefix=/usr --root=$(CURDIR)/debian/tmp +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_install + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_python2 + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: build install + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install |