semapapo 1.4.0__tar.gz → 1.4.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: semapapo
3
- Version: 1.4.0
3
+ Version: 1.4.2
4
4
  Summary: semapapo
5
5
  Author: potalej, jcgs, yuri-pin
6
6
  Description-Content-Type: text/markdown
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "semapapo"
7
- version = "1.4.0"
7
+ version = "1.4.2"
8
8
  description = "semapapo"
9
9
  authors = [{ name = "potalej" }, { name = "jcgs" }, { name="yuri-pin"} ]
10
10
  readme = "README.md"
@@ -13,34 +13,35 @@ def configurar ():
13
13
  config_file.write_text("""
14
14
  hora=$(date +%H%M)
15
15
  hora=$((10#$hora))
16
+
16
17
  frase="agora são $(date '+%H:%M')"
17
18
 
18
- if (( hora >= 400 && hora < 8300 )); then
19
- msg = "bom dia! $frase"
19
+ if (( hora >= 400 && hora < 830 )); then
20
+ msg="bom dia! $frase"
20
21
  elif (( hora >= 830 && hora < 1030 )); then
21
- msg = "bom dia! café? $frase"
22
+ msg="bom dia! café? $frase"
22
23
  elif (( hora >= 1030 && hora < 1115 )); then
23
- msg = "bom dia ! $frase"
24
+ msg="bom dia ! $frase"
24
25
  elif (( hora >= 1115 && hora < 1300 )); then
25
- msg = "já pode? $frase"
26
+ msg="já pode? $frase"
26
27
  elif (( hora >= 1300 && hora < 1415 )); then
27
- msg = "café com buchin chei? $frase"
28
+ msg="café com buchin chei? $frase"
28
29
  elif (( hora >= 1415 && hora < 1500 )); then
29
- msg = "café? $frase"
30
+ msg="café? $frase"
30
31
  elif (( hora >= 1500 && hora < 1730 )); then
31
- msg = "boa tarde! $frase"
32
+ msg="boa tarde! $frase"
32
33
  elif (( hora >= 1730 && hora < 1800 )); then
33
- msg = "boa tarde! bó jantá? $frase"
34
- elif (( Hora >= 1800 && hora < 1801 )); then
35
- msg = "caraca são $frase"
36
- elif (( Hora >= 1801 && hora < 1945 )); then
37
- msg = "boa noite! bó jantá? $frase"
34
+ msg="boa tarde! bó jantá? $frase"
35
+ elif (( hora >= 1800 && hora < 1801 )); then
36
+ msg="caraca são $frase"
37
+ elif (( hora >= 1801 && hora < 1945 )); then
38
+ msg="boa noite! bó jantá? $frase"
38
39
  elif (( hora >= 1945 && hora < 2000 )); then
39
- msg = "boa noite! $frase"
40
+ msg="boa noite! $frase"
40
41
  elif (( hora >= 2000 && hora < 2230)); then
41
- msg = "sextou! $frase"
42
+ msg="sextou! $frase"
42
43
  elif (( hora >= 2230 )); then
43
- msg = "já ta em casa? $frase"
44
+ msg="já ta em casa? $frase"
44
45
  else
45
46
  msg="tá acordado pq? $frase"
46
47
  fi
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: semapapo
3
- Version: 1.4.0
3
+ Version: 1.4.2
4
4
  Summary: semapapo
5
5
  Author: potalej, jcgs, yuri-pin
6
6
  Description-Content-Type: text/markdown
File without changes
File without changes
File without changes