This is an automated email from the git hooks/post-receive script.

nickm-guest pushed a commit to branch master
in repository libdate-pregnancy-perl.

commit 9ab9bf0e29d108e00890479384277295db16ade7
Author: Nick Morrott <knowledgejun...@gmail.com>
Date:   Tue Feb 16 03:15:57 2016 +0000

    Add 01-spelling-error-in-manpage.diff
    
    Patch to resolve lintian warnings about spelling errors in the
    Date-Pregnancy manpage.
    
    The patch has been forwarded upstream:
    https://rt.cpan.org/Public/Bug/Display.html?id=112068
---
 debian/changelog                                 |   2 -
 debian/patches/01-spelling-error-in-manpage.diff | 112 +++++++++++++++++++++++
 debian/patches/series                            |   1 +
 3 files changed, 113 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a5d2d4e..85d309e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,8 +5,6 @@ libdate-pregnancy-perl (0.05-1) UNRELEASED; urgency=low
     with re-tagging after changes, and also because
     https://pet.debian.net/pkg-perl/pet.cgi won't show an already tagged
     package as "Ready for upload"
-  - lintian detects three spelling-error-in-manpage. please add a patch with
-    DEP3 headers and forward it upstream.
 
   * Initial Release. (Closes: #805317)
 
diff --git a/debian/patches/01-spelling-error-in-manpage.diff 
b/debian/patches/01-spelling-error-in-manpage.diff
new file mode 100644
index 0000000..82798b1
--- /dev/null
+++ b/debian/patches/01-spelling-error-in-manpage.diff
@@ -0,0 +1,112 @@
+Description: Fix spelling errors in manpage
+Author: Nick Morrott <knowledgejun...@gmail.com>
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=112068
+Last-Update: 2016-02-16
+--- a/lib/Date/Pregnancy.pm
++++ b/lib/Date/Pregnancy.pm
+@@ -270,7 +270,7 @@
+ Which should be a DateTime object indicating the first day of the last
+ period.
+ 
+-If the period cycle length varies from the average og 28 days,
++If the period cycle length varies from the average of 28 days,
+ you can optionally provide the named parameter:
+ 
+ * period_cycle_length
+@@ -285,13 +285,13 @@
+ 
+ * countback
+ 
+-The function returns a DateTime object indicating the calculated day of birth
++The function returns a DateTime object indicating the calculated date of birth
+ or undef upon failure.
+ 
+ =head2 calculate_week
+ 
+ Calculates in what week the pregnant person currently is. A pregnancy
+-is in average 40 weeks these weeks numbers are normally used when
++is on average 40 weeks; these week numbers are normally used when
+ talking pregnancy and most guides, books and websites refer to the
+ different stages of pregnancy using these week numbers.
+ 
+@@ -307,10 +307,10 @@
+ should be a DateTime object, this defaults to now, when not provided.
+ 
+ Also a named parameter called B<birthday> can be provided, if you
+-already have an birthday DateTime object. If this is not provided
++already have a birthday DateTime object. If this is not provided
+ B<calculate_week> will call B<calculate_birthday> internally.
+ 
+-As for B<calculate_birthday> the function also takes the named paramter:
++As for B<calculate_birthday> the function also takes the named parameter:
+ 
+ * first_day_of_last_period
+ 
+@@ -326,7 +326,7 @@
+ =head2 calculate_month
+ 
+ Calculates in what month the pregnant person currently is (see also
+-B<calculate_week>). A pregnancy is in average 9 months.
++B<calculate_week>). A pregnancy is on average 9 months.
+ 
+ Takes one named parameter:
+ 
+@@ -340,11 +340,11 @@
+ should be a DateTime object, this defaults to now, when not provided.
+ 
+ Also a named parameter called B<birthday> can be provided, as for
+-B<calculate_week>, if you already have an birthday DateTime object. If
++B<calculate_week>, if you already have a birthday DateTime object. If
+ this is not provided B<calculate_month> will call B<calculate_birthday>
+ internally.
+ 
+-As for B<calculate_birthday> the function also takes the named paramter:
++As for B<calculate_birthday> the function also takes the named parameter:
+ 
+ * first_day_of_last_period
+ 
+@@ -392,9 +392,8 @@
+ 
+ =head2 Count Back
+ 
+-The count back method adds 7 days to the LWP and deducts 3 months, you
+-then have to add 1 year in the case where and your have the estimated
+-date of birth.
++The count back method adds 7 days to the LMP, then deducts 3 months, and
++finally adds 1 year to give the estimated date of birth.
+ 
+ =head1 TEST DATA
+ 
+@@ -403,10 +402,10 @@
+ 
+ The format should be either a test file (*.t), where you choose the
+ file name yourself (see t/Villads.t) or you simply submit me the date
+-of the first day of the last period for the pregnant person, the lenght
+-time between periods if this varies from the avarage of 28 and possible
+-the result of your own/your doctor's week number calculation, then I
+-can use these data to validate the calculation methods used in this
++of the first day of the last period for the pregnant person, the length of
++time between periods (if this varies from the avarage of 28), and possibly
++the result of your own/your doctor's week number calculation. I can
++then use these data to validate the calculation methods used in this
+ module.
+ 
+ If possible please include the information on what method your doctor
+@@ -445,14 +444,14 @@
+ =head1 DISCLAIMER
+ 
+ The method of calculating day of birth and week numbers implemented in
+-this module is based on simple formulars.
++this module is based on simple formulas.
+ 
+-The ultra sound scan is a much more accurate method and finally babies
++The ultrasound scan is a much more accurate method and finally babies
+ seem to have a will of their own, so please do only use the results of
+ this module as a guideline, the author of this module cannot be held
+ responsible for the results of calculations based on use of this module.
+ 
+-Feedback is welcome though aswell as test data (please see TEST DATA
++Feedback is welcome though as well as test data (please see TEST DATA
+ above).
+ 
+ =head1 ACKNOWLEDGEMENTS
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9413cb0
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01-spelling-error-in-manpage.diff

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdate-pregnancy-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to