summaryrefslogtreecommitdiff
path: root/dh_python
AgeCommit message (Collapse)AuthorFilesLines
2009-12-29stop trying to handle substvars idempotentlyJoey Hess1-2/+0
In the beginning, I tried to be careful to have commands that added a substvar remove it when ran again with different options that caused it to not be needed. However, now when I look over the code, I see 3 places that got it right, 1 that was right but I just broke, and a dozen that don't even try to handle this case. Also, handling the case is hard; code that adds substvars may be complex and calculate versioned dependencies. The removal code then has to somehow also come up with those same exact dependency strings. It's a recipe for nasty code and maintenance headache even if I went and fixed everything right now. Instead, I dropped the whole thing. Many debhelper commands make no pretense of being idempotent anyway; it's easy and normal to call dh_prep when starting a binary package build, with the exact purpose of not needing to worry about idempotency. I did leave in the delsubstvar function, as well as the option to addsubstvar that, confusingly, causes an item to be removed. Just for library compatability reasons.
2009-11-04Drop deprecated programs from the list of commands in debhelper(7). Closes: ↵Joey Hess1-1/+1
#548382
2006-10-03r1946: * dh_python: Also be a no-op if there's a Python-Version control file ↵joeyh1-3/+8
field.
2006-10-01r1941: * ACK last three NMUs with thanks to Raphael Hertzog for making the ↵joeyh1-0/+11
best of a difficult situation. * Revert all dh_python changes. Closes: #381389, #378604 * Conflict with python-support << 0.5.3 and python-central << 0.5.5. * Make dh_python do nothing if debian/pycompat is found. The new versions of dh_pysupport or dh_pycentral will take care of everything dh_python used to do in this situation. * dh_python is now deprecated. Closes: #358392, #253582, #189474 * Non-maintainer upload. * Update of dh_python - when buidling for a non-standard Python version, generate more reasonable Depends like "python (>= X.Y) | pythonX.Y" Closes: #375576 - fix handling of private extensions. Closes: #375948 - fix parsing of XS-Python-Version, it didn't work if only fixed versions were listed in XS-Python-Version. - fix use of unitialized value. Closes: #374776 - fix typos in POD documentation. Closes: #375936 * Non-maintainer upload. * Update of dh_python - vastly refactored, easier to understand, and the difference between old policy and new policy is easier to grasp - it supports an -X option which can be used to not scan some files - uses debian/pyversions as reference source of information for dependencies but also parse the XS-Python-Version header as fallback. - ${python:Versions}'s default value is XS-Python-Version's value instead of "all" when the package doesn't depend on a specific python version. Closes: #373853 - always generate ${python:Provides} and leave the responsibility to the maintainer to not use ${python:Provides} if he doesn't want the provides. - uses debian/pycompat or DH_PYCOMPAT as reference field to run in new policy mode. The presence of XS-Python-Version will also trigger the new policy mode (this is for short-term compatibility, it may be removed in the not too-distant future). DH_PYCOMPAT=1 is the default mode and is compatible to the old policy. DH_PYCOMPAT=2 is the new mode and is compatible with the new policy. * Use "grep ^Version:" instead of "grep Version:" on the output of dpkg-parsechangelog since the above changelog entry matched "Version:" and thus made the build fail. * Non-maintainer upload. * Integrate the new dh_python implementing the new Python policy. Closes: #370833
2006-01-16r1856: * dh_python: Temporarily revert change in 5.0.13 to make use of5.0.17joeyh1-39/+31
python-support for packages providing private modules or python-only modules, since python policy hasn't been updated for this yet. Closes: #347758
2006-01-08r1844: merge python and gconf changes from python-supportjoeyh1-31/+39
2005-06-13r1762: * Add another test-case for dh_link.joey1-3/+2
* dh_python: Minimal fix from Joss for -V to make it search the right site-packages directories. Closes: #312661 *
2005-06-09r1760: releasing version 4.2.374.2.37joey1-0/+1
2004-12-14r1732: releasing version 4.2.284.2.28joey1-1/+1
2004-12-08r1728: releasing version 4.2.264.2.26joey1-3/+5
2004-02-09r1655: * Added udeb support, as pioneered by di-packages-build. Understandsversion_4.2.0joey1-1/+1
"XC-Package-Type: udeb" in debian/control. See debhelper(1) for details. * Dh_Lib: add and export is_udeb and udeb_filename * dh_builddeb: name udebs with proper extension * dh_gencontrol: pass -n and filename to dpkg-gencontrol * dh_installdocs, dh_makeshlibs, dh_md5sums, dh_installchangelogs, dh_installexamples, dh_installman, dh_installmanpages: skip udebs * dh_shlibdeps: skip udebs. This may be temporary. * dh_installdeb: do not process conffiles, shlibs, preinsts, postrms, or prerms for udebs. Do not substiture #DEBHELPER# tokens in postinst scripts for udebs. * dh_installdebconf: skip config script for udebs, still do templates
2003-10-13r1611: * dh_install: add --fail-missing option. Closes: #120026version_4.1.75joey1-1/+1
* Fix mispelling in prerm-sgmlcatalog. Closes: #215189
2003-08-22r1594: * dh_python: Another patch, for pythonX.Y-foo packages.version_4.1.67joey1-7/+6
* dh_link: Improve error message if link destination is a directory. Closes: #206689
2003-08-18r1590: * Converted several chown 0.0 to chown 0:0 for POSIX 200112.version_4.1.65joey1-4/+38
* dh_python: patch from Josselin to support packages only shipping binary (.so) modules, and removal of any already byte-compiled .py[co] found.
2003-08-13r1588: * dh_python: Add a -V flag to choose the python version modules in ↵version_4.1.64joey1-4/+23
a package use. Patch from Josselin, of course.
2003-08-11r1586: * dh_python: patch from Josselin to fix generated depends. Closes: ↵version_4.1.63joey1-18/+29
#204717 * dh_pythn: also stylistic and tab damage fixes
2003-08-08r1580: * dh_python: support python ver 2.3. Closes: #204556version_4.1.60joey1-1/+1
2003-06-20r591: * dh_python typo fix Closes: #197679joey1-1/+1
* dh_link: don't complain if tmp dir does not exist yet when doing pre-link scan.
2003-05-24r588: * Typo fixes from Adam Garside.joey1-1/+1
* dh_python: don't bother terminating the regexp, 2.2.3c1 for example. Closes: #194531
2003-05-20r586: * dh_python: allow for a + at the end of the python version, as in thejoey1-1/+1
python in stable, version 2.1.3+.
2003-05-10r585: * dh_python: Honour -n flag. Closes: #192804joey1-2/+2
2003-03-03r576: * Rename debhelper.1 to debhelper.7.joey1-1/+1
* Typo, Closes: #183267
2002-12-19r570: * List binary-common in .PHONY in rules.multi2. Closes: #173278joey1-12/+17
* Cleaned up error message if python is not installed. Closes: #173524 * dh_python: Bug fix from Josselin Mouette for case of building an arch indep python package depending on a arch dependent package. However, I used GetPackages() rather than add yet another control file parser. Untested.
2002-11-21r565: * Various minor changes based on suggestions by luca.joey1-0/+208