Skip to content

Commit c3e0e45

Browse files
committed
alvistack/4.2.0
git clean -xdf mkdir -p .cargo cargo vendor --manifest-path ./src/_bcrypt/Cargo.toml > .cargo/config.toml tar zcvf ../python-bcrypt_4.2.0.orig.tar.gz --exclude=.git . debuild -uc -us cp python-bcrypt.spec ../python-bcrypt_4.2.0-1.spec cp ../python*-bcrypt*4.2.0*.{gz,xz,spec,dsc} /osc/home\:alvistack/pyca-bcrypt-4.2.0/ rm -rf ../python*-bcrypt*4.2.0*.* See pyca#714 Signed-off-by: Wong Hoi Sing Edison <[email protected]>
1 parent 8d05111 commit c3e0e45

17 files changed

+395
-99
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,7 @@ pip-log.txt
2727

2828
#Translations
2929
*.mo
30+
31+
.cargo/
32+
vendor/
33+
.pybuild/

debian/.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
*.substvars
2+
*debhelper*
3+
.debhelper
4+
files
5+
python3-bcrypt
6+
tmp

debian/changelog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
python-bcrypt (100:4.2.0-1) UNRELEASED; urgency=medium
2+
3+
* https://github.com/pyca/bcrypt/releases/tag/4.2.0
4+
5+
-- Wong Hoi Sing Edison <[email protected]> Tue, 23 Jul 2024 11:38:55 +0800

debian/control

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
Source: python-bcrypt
2+
Section: python
3+
Priority: optional
4+
Standards-Version: 4.5.0
5+
Maintainer: Wong Hoi Sing Edison <[email protected]>
6+
Homepage: https://github.com/pyca/bcrypt/tags
7+
Vcs-Browser: https://github.com/alvistack/pyca-bcrypt
8+
Vcs-Git: https://github.com/alvistack/pyca-bcrypt.git
9+
Build-Depends:
10+
cargo,
11+
cython3,
12+
debhelper,
13+
debhelper-compat (= 10),
14+
dh-python,
15+
fdupes,
16+
python3-dev,
17+
python3-pip,
18+
python3-pycparser,
19+
python3-setuptools (>= 42.0.0),
20+
python3-setuptools-rust (>= 1.7.0),
21+
rustc (>= 1.64.0),
22+
23+
Package: python3-bcrypt
24+
Architecture: amd64
25+
Description: Modern(-ish) password hashing for your software and your servers
26+
Good password hashing for your software and your servers.
27+
Depends:
28+
${misc:Depends},
29+
${shlibs:Depends},
30+
${python3:Depends},
31+
python3,

debian/copyright

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2+
3+
Files: debian/*
4+
Copyright: 2024 Wong Hoi Sing Edison <[email protected]>
5+
License: Apache-2.0
6+
7+
License: Apache-2.0
8+
Licensed under the Apache License, Version 2.0 (the "License");
9+
you may not use this file except in compliance with the License.
10+
You may obtain a copy of the License at
11+
.
12+
http://www.apache.org/licenses/LICENSE-2.0
13+
.
14+
Unless required by applicable law or agreed to in writing, software
15+
distributed under the License is distributed on an "AS IS" BASIS,
16+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
See the License for the specific language governing permissions and
18+
limitations under the License.
19+
.
20+
The complete text of the Apache version 2.0 license
21+
can be found in "/usr/share/common-licenses/Apache-2.0".

debian/python3-bcrypt.install

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
usr/lib/python*/*-packages/*
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
python3-bcrypt: copyright-without-copyright-notice
2+
python3-bcrypt: initial-upload-closes-no-bugs
3+
python3-bcrypt: no-manual-page
4+
python3-bcrypt: zero-byte-file-in-doc-directory

debian/rules

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#!/usr/bin/make -f
2+
3+
SHELL := /bin/bash
4+
5+
override_dh_auto_configure:
6+
7+
override_dh_auto_build:
8+
pip wheel \
9+
--no-deps \
10+
--no-build-isolation \
11+
--wheel-dir=dist \
12+
.
13+
14+
override_dh_auto_install:
15+
pip install \
16+
--no-deps \
17+
--ignore-installed \
18+
--root=debian/tmp \
19+
--prefix=/usr \
20+
dist/*.whl
21+
mv debian/tmp/usr debian/tmp/usr.orig
22+
mv debian/tmp/usr.orig/local debian/tmp/usr
23+
rm -rf debian/tmp/usr.orig
24+
find debian/tmp/usr/lib/python*/*-packages -type f -name '*.pyc' -exec rm -rf {} \;
25+
fdupes -qnrps debian/tmp/usr/lib/python*/*-packages
26+
27+
override_dh_auto_test:
28+
29+
override_dh_auto_clean:
30+
31+
%:
32+
dh $@ --with python3

debian/source/format

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0 (quilt)

debian/source/lintian-overrides

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
python-bcrypt source: file-without-copyright-information
2+
python-bcrypt source: no-debian-changes
3+
python-bcrypt source: source-contains-prebuilt-windows-binary
4+
python-bcrypt source: source-package-encodes-python-version
5+
python-bcrypt source: unpack-message-for-orig

0 commit comments

Comments
 (0)