File: 0001-change-auto-version.patch

package info (click to toggle)
python-eth-typing 5.2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 324 kB
  • sloc: python: 1,968; makefile: 234
file content (15 lines) | stat: -rwxr-xr-x 527 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Change auto version before build
 During Debian packaging, this call fails because the package metadata is
 not available in the build environment.
Author: Manuel Guerra <ar.manuelguerra@gmail.com>
Forwarded: not-needed
Last-Update: 2025-06-25

--- python-eth-typing-5.2.1.orig/eth_typing/__init__.py
+++ python-eth-typing-5.2.1/eth_typing/__init__.py
@@ -86,4 +86,4 @@ __all__ = (
     "ChainId",
 )
 
-__version__ = __version("eth-typing")
+__version__ = "@DEB_VERSION@"  # Replaced by debian/rules during build