Commit Graph

10 Commits

Author SHA1 Message Date
6d829b0f6c [stable-2.9] debian: install lib in dist-packages (#64412)
On Ubuntu Precise and Trusty, the build was failing because the Ansible
libs were installed in /usr/lib/python2.7/site-packages.

According to the Debian Policy (2.5), they should actually be install in
/usr/lib/python2.7/dist-packages This is also CDBS default behaviour since
0.4.131.

See: https://www.debian.org/doc/packaging-manuals/python-policy/ch-python.html

Closes: #64160
2019-11-12 10:55:24 -08:00
e14ccbf2c0 [stable-2.9] debian: prepare the ansible-test package
- Generate an extra package for `ansible-test`.
- Manually install the files because CDBS get confused by our two
  Python packages
- Refresh the package descriptions to match what is done with the RPM
(cherry picked from commit 3f9316b)

Co-authored-by: Gonéri Le Bouder <goneri@lebouder.net>
2019-09-03 23:52:33 -07:00
e3192fb3a4 Use pycrypto backend, rather than python-cryptography, on Ubuntu Precise 2018-02-19 13:39:32 -08:00
cde36b883c Fix pycrypto backend setting to work when multiple distros are specified in DEB_DIST 2017-07-13 12:13:54 -07:00
cf01068f53 Use pycrypto backend, rather than python-cryptography, on Ubuntu Trusty 2017-07-12 08:53:21 -07:00
4ae0d5b843 Build debs with pbuilder (#18165)
* Build debs with pbuilder
* Update README in packaging/debian
* Add Dockerfile for building debs
* Add local_deb makefile target - Allows users to build debs using locally installed dependencies. This was the `deb` target before moving to pbuilder.
2016-10-26 14:24:15 -07:00
0cdbc8b48d backwards compat for python-support on old Debian/Ubuntu releases 2016-03-18 11:07:23 +01:00
3fd74890d3 migrate to dh-python 2016-03-17 18:26:54 +01:00
21269a845f debian packaging 2012-04-23 19:17:01 -04:00
8539f4926a Move debian under packaging subdirectory 2012-04-18 22:50:09 -04:00